From 9a638c4c5af04ce9a93b174849347302d5da3184 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 22 Jul 2011 16:45:12 +0200 Subject: s3:rpcclient: use rpc_pipe->desthost instead of cli->desthost metze --- source3/rpcclient/rpcclient.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c index 542862606b2..8ff9742b87b 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 */ -- cgit