summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2011-08-12 11:19:09 +0200
committerSimo Sorce <idra@samba.org>2011-08-21 09:05:04 -0400
commiteb8a0c76725500d183c50eb795c683f23d4aede7 (patch)
tree3f2679a5ebaeeb318591cd43fd0cbb14e8793f96 /source3/rpc_server
parentbfd96248185a7a7325a0f5991f2655759905c45e (diff)
downloadsamba-eb8a0c76725500d183c50eb795c683f23d4aede7.tar.gz
samba-eb8a0c76725500d183c50eb795c683f23d4aede7.tar.bz2
samba-eb8a0c76725500d183c50eb795c683f23d4aede7.zip
s3-winbind: We need to use internal rpc connections in winbind.
Signed-off-by: Andreas Schneider <asn@samba.org> Signed-off-by: Simo Sorce <idra@samba.org>
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/rpc_ncacn_np.c2
-rw-r--r--source3/rpc_server/rpc_ncacn_np.h7
2 files changed, 8 insertions, 1 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_ */