From b89a0439b3e38b6da739119d904d25901f34a8f8 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 2 Jan 2012 12:51:06 +1100 Subject: 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 --- source3/rpcclient/rpcclient.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source3/rpcclient') diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c index c195d289ab..1f74f7e9e9 100644 --- a/source3/rpcclient/rpcclient.c +++ b/source3/rpcclient/rpcclient.c @@ -715,10 +715,12 @@ static NTSTATUS do_cmd(struct cli_state *cli, } break; case DCERPC_AUTH_TYPE_NTLMSSP: - ntresult = cli_rpc_pipe_open_ntlmssp( + ntresult = cli_rpc_pipe_open_generic_auth( cli, cmd_entry->interface, default_transport, + pipe_default_auth_type, pipe_default_auth_level, + cli_state_remote_name(cli), get_cmdline_auth_info_domain(auth_info), get_cmdline_auth_info_username(auth_info), get_cmdline_auth_info_password(auth_info), -- cgit