diff options
author | Günther Deschner <gd@samba.org> | 2009-04-24 03:09:20 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-04-24 09:52:00 +0200 |
commit | 8d3e61e5ce965eeaad5c5239ddb4fdb56071597c (patch) | |
tree | db392f8cbc07f5935d68cf87f34ccc275d72b61b /source3/rpc_client | |
parent | 5b33624113781bbe56956e4e09a4860dd507c9ed (diff) | |
download | samba-8d3e61e5ce965eeaad5c5239ddb4fdb56071597c.tar.gz samba-8d3e61e5ce965eeaad5c5239ddb4fdb56071597c.tar.bz2 samba-8d3e61e5ce965eeaad5c5239ddb4fdb56071597c.zip |
s3-netlogon: Start fixing rpccli_netlogon_setup_creds after auth merge.
Guenther
Diffstat (limited to 'source3/rpc_client')
-rw-r--r-- | source3/rpc_client/cli_netlogon.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/rpc_client/cli_netlogon.c b/source3/rpc_client/cli_netlogon.c index 32485ead9f..cfaf9f3649 100644 --- a/source3/rpc_client/cli_netlogon.c +++ b/source3/rpc_client/cli_netlogon.c @@ -72,8 +72,8 @@ NTSTATUS rpccli_netlogon_setup_creds(struct rpc_pipe_client *cli, /* Calculate the session key and client credentials */ cli->dc = netlogon_creds_client_init(cli, + mach_acct, clnt_name, - machine_account, &clnt_chal_send, &srv_chal_recv, &password, @@ -101,6 +101,7 @@ NTSTATUS rpccli_netlogon_setup_creds(struct rpc_pipe_client *cli, * with the returned neg_flags - gd */ if (NT_STATUS_EQUAL(result, NT_STATUS_ACCESS_DENIED) && !retried) { + retried = true; TALLOC_FREE(cli->dc); goto again; } |