s3-winbindd: Use rpc_open_pipe_interface in winbindd.
authorSimo Sorce <idra@samba.org>
Tue, 6 Jul 2010 19:29:32 +0000 (15:29 -0400)
committerAndreas Schneider <asn@samba.org>
Wed, 15 Sep 2010 10:53:43 +0000 (12:53 +0200)
Signed-off-by: Andreas Schneider <asn@samba.org>
source3/winbindd/winbindd_samr.c

index f4d84fb1323e436f9578618361e70f9494e2c970..455d4941d7fd0e61284e77bbe818a5e294848f05 100644 (file)
@@ -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,