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/utils | |
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/utils')
-rw-r--r-- | source3/utils/net_rpc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c index ef017ec9dc..5491c58138 100644 --- a/source3/utils/net_rpc.c +++ b/source3/utils/net_rpc.c @@ -200,11 +200,13 @@ int run_rpc_command(struct net_context *c, } } else { if (conn_flags & NET_FLAGS_SEAL) { - nt_status = cli_rpc_pipe_open_ntlmssp( + nt_status = cli_rpc_pipe_open_generic_auth( cli, interface, (conn_flags & NET_FLAGS_TCP) ? NCACN_IP_TCP : NCACN_NP, + DCERPC_AUTH_TYPE_NTLMSSP, DCERPC_AUTH_LEVEL_PRIVACY, + cli_state_remote_name(cli), lp_workgroup(), c->opt_user_name, c->opt_password, &pipe_hnd); } else { |