diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-01-02 12:51:06 +1100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-01-11 09:04:41 +0100 |
commit | b89a0439b3e38b6da739119d904d25901f34a8f8 (patch) | |
tree | 6aa28aea39e3c83b2c7eb27037f54d9d7ffd4e53 /source3/rpc_client/cli_pipe.h | |
parent | 1e5e219a4b6fa4add004a51a68c03b0182ed25f7 (diff) | |
download | samba-b89a0439b3e38b6da739119d904d25901f34a8f8.tar.gz samba-b89a0439b3e38b6da739119d904d25901f34a8f8.tar.bz2 samba-b89a0439b3e38b6da739119d904d25901f34a8f8.zip |
s3-librpc Rename and rework cli_rpc_pipe_open_ntlmssp() to be generic
This also includes renaming the helper function
rpccli_ntlmssp_bind_data, and allows this function to operate on any
gensec-supplied auth type.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/rpc_client/cli_pipe.h')
-rw-r--r-- | source3/rpc_client/cli_pipe.h | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/source3/rpc_client/cli_pipe.h b/source3/rpc_client/cli_pipe.h index 25a134068f..a9d5784643 100644 --- a/source3/rpc_client/cli_pipe.h +++ b/source3/rpc_client/cli_pipe.h @@ -84,14 +84,16 @@ NTSTATUS cli_rpc_pipe_open_noauth_transport(struct cli_state *cli, const struct ndr_syntax_id *interface, struct rpc_pipe_client **presult); -NTSTATUS cli_rpc_pipe_open_ntlmssp(struct cli_state *cli, - const struct ndr_syntax_id *interface, - enum dcerpc_transport_t transport, - enum dcerpc_AuthLevel auth_level, - const char *domain, - const char *username, - const char *password, - struct rpc_pipe_client **presult); +NTSTATUS cli_rpc_pipe_open_generic_auth(struct cli_state *cli, + const struct ndr_syntax_id *interface, + enum dcerpc_transport_t transport, + enum dcerpc_AuthType auth_type, + enum dcerpc_AuthLevel auth_level, + const char *server, + const char *domain, + const char *username, + const char *password, + struct rpc_pipe_client **presult); NTSTATUS cli_rpc_pipe_open_spnego_ntlmssp(struct cli_state *cli, const struct ndr_syntax_id *interface, |