summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_samr.c
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2010-07-06 15:29:32 -0400
committerAndreas Schneider <asn@samba.org>2010-09-15 12:53:43 +0200
commitdb46b2bdb04174b90508605911fa0325fb22fd7f (patch)
tree82dfb6f6467cae851f7eac684da9f7142e71368e /source3/winbindd/winbindd_samr.c
parente580c6d88f4f124e06562fe56c1d9437d1205658 (diff)
downloadsamba-db46b2bdb04174b90508605911fa0325fb22fd7f.tar.gz
samba-db46b2bdb04174b90508605911fa0325fb22fd7f.tar.bz2
samba-db46b2bdb04174b90508605911fa0325fb22fd7f.zip
s3-winbindd: Use rpc_open_pipe_interface in winbindd.
Signed-off-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source3/winbindd/winbindd_samr.c')
-rw-r--r--source3/winbindd/winbindd_samr.c5
1 files changed, 3 insertions, 2 deletions
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,