From db46b2bdb04174b90508605911fa0325fb22fd7f Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Tue, 6 Jul 2010 15:29:32 -0400 Subject: s3-winbindd: Use rpc_open_pipe_interface in winbindd. Signed-off-by: Andreas Schneider --- source3/winbindd/winbindd_samr.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source3/winbindd') 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, -- cgit