summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2010-07-08 11:36:03 -0400
committerSimo Sorce <idra@samba.org>2010-07-08 18:38:56 -0400
commita054832f4fda4a158c1d0bf6fa2646bd5835aa2e (patch)
tree8360f2abb439a78a0fd79c0a62b9eb21f2634b10 /source3/rpc_client
parentaca60c29e7f890524ebd3a896a3e4f591b5830f6 (diff)
downloadsamba-a054832f4fda4a158c1d0bf6fa2646bd5835aa2e.tar.gz
samba-a054832f4fda4a158c1d0bf6fa2646bd5835aa2e.tar.bz2
samba-a054832f4fda4a158c1d0bf6fa2646bd5835aa2e.zip
s3-dcerpc: make dceprc_push_dcerpc_auth public
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_pipe.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c
index 3d53d2ecd5..b3aaf9df3e 100644
--- a/source3/rpc_client/cli_pipe.c
+++ b/source3/rpc_client/cli_pipe.c
@@ -1754,15 +1754,16 @@ static NTSTATUS rpc_api_pipe_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx,
}
/*******************************************************************
+ Creates an auth_data blob.
********************************************************************/
-static NTSTATUS dcerpc_push_dcerpc_auth(TALLOC_CTX *mem_ctx,
- enum dcerpc_AuthType auth_type,
- enum dcerpc_AuthLevel auth_level,
- uint8_t auth_pad_length,
- uint32_t auth_context_id,
- const DATA_BLOB *credentials,
- DATA_BLOB *blob)
+NTSTATUS dcerpc_push_dcerpc_auth(TALLOC_CTX *mem_ctx,
+ enum dcerpc_AuthType auth_type,
+ enum dcerpc_AuthLevel auth_level,
+ uint8_t auth_pad_length,
+ uint32_t auth_context_id,
+ const DATA_BLOB *credentials,
+ DATA_BLOB *blob)
{
struct dcerpc_auth r;
enum ndr_err_code ndr_err;