From 8d3e61e5ce965eeaad5c5239ddb4fdb56071597c Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Fri, 24 Apr 2009 03:09:20 +0200 Subject: s3-netlogon: Start fixing rpccli_netlogon_setup_creds after auth merge. Guenther --- source3/rpc_client/cli_netlogon.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3/rpc_client') 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; } -- cgit