summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-07-22 16:45:12 +0200
committerStefan Metzmacher <metze@samba.org>2011-07-22 17:06:09 +0200
commit9a638c4c5af04ce9a93b174849347302d5da3184 (patch)
tree904db91a7b7ea4658c5799ccb7b1fb2a73ebfa86 /source3
parent49c8534ae41222ef1fa6be0f3a1d77098a40abdb (diff)
downloadsamba-9a638c4c5af04ce9a93b174849347302d5da3184.tar.gz
samba-9a638c4c5af04ce9a93b174849347302d5da3184.tar.bz2
samba-9a638c4c5af04ce9a93b174849347302d5da3184.zip
s3:rpcclient: use rpc_pipe->desthost instead of cli->desthost
metze
Diffstat (limited to 'source3')
-rw-r--r--source3/rpcclient/rpcclient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c
index 542862606b..8ff9742b87 100644
--- a/source3/rpcclient/rpcclient.c
+++ b/source3/rpcclient/rpcclient.c
@@ -773,7 +773,7 @@ static NTSTATUS do_cmd(struct cli_state *cli,
}
ntresult = rpccli_netlogon_setup_creds(cmd_entry->rpc_pipe,
- cli->desthost, /* server name */
+ cmd_entry->rpc_pipe->desthost, /* server name */
get_cmdline_auth_info_domain(auth_info), /* domain */
lp_netbios_name(), /* client name */
machine_account, /* machine account name */