diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpc_server/rpc_ncacn_np.c | 2 | ||||
-rw-r--r-- | source3/rpc_server/rpc_ncacn_np.h | 7 | ||||
-rw-r--r-- | source3/winbindd/winbindd_samr.c | 4 |
3 files changed, 10 insertions, 3 deletions
diff --git a/source3/rpc_server/rpc_ncacn_np.c b/source3/rpc_server/rpc_ncacn_np.c index 028f182a59..62f42700d1 100644 --- a/source3/rpc_server/rpc_ncacn_np.c +++ b/source3/rpc_server/rpc_ncacn_np.c @@ -461,7 +461,7 @@ NTSTATUS rpcint_binding_handle(TALLOC_CTX *mem_ctx, * @return NT_STATUS_OK on success, a corresponding NT status if an * error occured. */ -static NTSTATUS rpc_pipe_open_internal(TALLOC_CTX *mem_ctx, +NTSTATUS rpc_pipe_open_internal(TALLOC_CTX *mem_ctx, const struct ndr_syntax_id *abstract_syntax, const struct auth_session_info *session_info, const struct tsocket_address *remote_address, diff --git a/source3/rpc_server/rpc_ncacn_np.h b/source3/rpc_server/rpc_ncacn_np.h index fc968a2035..586d61bea2 100644 --- a/source3/rpc_server/rpc_ncacn_np.h +++ b/source3/rpc_server/rpc_ncacn_np.h @@ -56,4 +56,11 @@ NTSTATUS rpc_pipe_open_interface(TALLOC_CTX *mem_ctx, struct messaging_context *msg_ctx, struct rpc_pipe_client **cli_pipe); +NTSTATUS rpc_pipe_open_internal(TALLOC_CTX *mem_ctx, + const struct ndr_syntax_id *abstract_syntax, + const struct auth_session_info *session_info, + const struct tsocket_address *remote_address, + struct messaging_context *msg_ctx, + struct rpc_pipe_client **presult); + #endif /* _RPC_NCACN_NP_H_ */ diff --git a/source3/winbindd/winbindd_samr.c b/source3/winbindd/winbindd_samr.c index 7dae82ac5d..582e2a6962 100644 --- a/source3/winbindd/winbindd_samr.c +++ b/source3/winbindd/winbindd_samr.c @@ -56,7 +56,7 @@ static NTSTATUS open_internal_samr_pipe(TALLOC_CTX *mem_ctx, } /* create a samr connection */ - status = rpc_pipe_open_interface(mem_ctx, + status = rpc_pipe_open_internal(mem_ctx, &ndr_table_samr.syntax_id, session_info, NULL, @@ -133,7 +133,7 @@ static NTSTATUS open_internal_lsa_pipe(TALLOC_CTX *mem_ctx, } /* create a lsa connection */ - status = rpc_pipe_open_interface(mem_ctx, + status = rpc_pipe_open_internal(mem_ctx, &ndr_table_lsarpc.syntax_id, session_info, NULL, |