summaryrefslogtreecommitdiff
path: root/source3/rpcclient
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-09-10 22:22:24 +0200
committerGünther Deschner <gd@samba.org>2009-09-11 09:59:04 +0200
commit12acf6ca7268a8804d20051347b960c07c18d981 (patch)
treed183c52412181fb321f7ae99d2b745987bc0b1f7 /source3/rpcclient
parent87f61a144b8d25c90b847940ca03ced1f77b036c (diff)
downloadsamba-12acf6ca7268a8804d20051347b960c07c18d981.tar.gz
samba-12acf6ca7268a8804d20051347b960c07c18d981.tar.bz2
samba-12acf6ca7268a8804d20051347b960c07c18d981.zip
s3-rpcclient: use cli_rpc_pipe_open_noauth_transport in rpcclient.
Guenther
Diffstat (limited to 'source3/rpcclient')
-rw-r--r--source3/rpcclient/rpcclient.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c
index 475dce5d0f..3489652992 100644
--- a/source3/rpcclient/rpcclient.c
+++ b/source3/rpcclient/rpcclient.c
@@ -642,8 +642,9 @@ static NTSTATUS do_cmd(struct cli_state *cli,
if ((cmd_entry->interface != NULL) && (cmd_entry->rpc_pipe == NULL)) {
switch (pipe_default_auth_type) {
case PIPE_AUTH_TYPE_NONE:
- ntresult = cli_rpc_pipe_open_noauth(
- cli, cmd_entry->interface,
+ ntresult = cli_rpc_pipe_open_noauth_transport(
+ cli, default_transport,
+ cmd_entry->interface,
&cmd_entry->rpc_pipe);
break;
case PIPE_AUTH_TYPE_SPNEGO_NTLMSSP: