From: Simo Sorce Date: Tue, 6 Jul 2010 19:29:32 +0000 (-0400) Subject: s3-winbindd: Use rpc_open_pipe_interface in winbindd. X-Git-Url: http://git.samba.org/?p=kamenim%2Fsamba.git;a=commitdiff_plain;h=db46b2bdb04174b90508605911fa0325fb22fd7f s3-winbindd: Use rpc_open_pipe_interface in winbindd. Signed-off-by: Andreas Schneider --- diff --git a/source3/winbindd/winbindd_samr.c b/source3/winbindd/winbindd_samr.c index f4d84fb132..455d4941d7 100644 --- a/source3/winbindd/winbindd_samr.c +++ b/source3/winbindd/winbindd_samr.c @@ -33,6 +33,7 @@ #include "../librpc/gen_ndr/cli_lsa.h" #include "rpc_client/cli_lsarpc.h" #include "../librpc/gen_ndr/srv_lsa.h" +#include "rpc_server/rpc_ncacn_np.h" #undef DBGC_CLASS #define DBGC_CLASS DBGC_WINBIND @@ -58,7 +59,7 @@ static NTSTATUS open_internal_samr_pipe(TALLOC_CTX *mem_ctx, } /* create a samr connection */ - status = rpc_pipe_open_internal(mem_ctx, + status = rpc_pipe_open_interface(mem_ctx, &ndr_table_samr.syntax_id, server_info, NULL, @@ -131,7 +132,7 @@ static NTSTATUS open_internal_lsa_pipe(TALLOC_CTX *mem_ctx, } /* create a samr connection */ - status = rpc_pipe_open_internal(mem_ctx, + status = rpc_pipe_open_interface(mem_ctx, &ndr_table_lsarpc.syntax_id, server_info, NULL,