From 97df561bacd354530ce34db4f9550deb0967e8b3 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 4 Nov 2005 00:03:55 +0000 Subject: r11492: Fix bug #3224 (I hope). Correctly use machine_account_name and client_name when doing netlogon credential setup. Jeremy. --- source/rpcclient/rpcclient.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'source/rpcclient/rpcclient.c') diff --git a/source/rpcclient/rpcclient.c b/source/rpcclient/rpcclient.c index 630add0e9bd..46f2df29d33 100644 --- a/source/rpcclient/rpcclient.c +++ b/source/rpcclient/rpcclient.c @@ -573,9 +573,10 @@ static NTSTATUS do_cmd(struct cli_state *cli, } ntresult = rpccli_netlogon_setup_creds(cmd_entry->rpc_pipe, - cli->desthost, - lp_workgroup(), - global_myname(), + cli->desthost, /* server name */ + lp_workgroup(), /* domain */ + global_myname(), /* client name */ + global_myname(), /* machine account name */ trust_password, sec_channel_type, &neg_flags); -- cgit