diff options
author | Jeremy Allison <jra@samba.org> | 2002-11-09 03:57:28 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2002-11-09 03:57:28 +0000 |
commit | 5a21d8021a487da81b4b3389ee628763c651edae (patch) | |
tree | d079385fb922a0ca591bce6592adaaf00c449a73 /source3/auth | |
parent | 02c58f3fb92c18ffb31c77a397163c44d70e3c93 (diff) | |
download | samba-5a21d8021a487da81b4b3389ee628763c651edae.tar.gz samba-5a21d8021a487da81b4b3389ee628763c651edae.tar.bz2 samba-5a21d8021a487da81b4b3389ee628763c651edae.zip |
Fix bug found by tpot with given password server.
Jeremy.
(This used to be commit 90ac8184a0ae1f702d39f947ef5267765f3d2f88)
Diffstat (limited to 'source3/auth')
-rw-r--r-- | source3/auth/auth_domain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/auth/auth_domain.c b/source3/auth/auth_domain.c index f58e8bac47..9d4824fbc7 100644 --- a/source3/auth/auth_domain.c +++ b/source3/auth/auth_domain.c @@ -396,7 +396,7 @@ static NTSTATUS domain_client_validate(TALLOC_CTX *mem_ctx, nt_status = find_connect_pdc(&cli, domain, setup_creds_as, sec_chan, trust_passwd, last_change_time); } else { int i; - BOOL retry = False; + BOOL retry = True; for (i = 0; !NT_STATUS_IS_OK(nt_status) && retry && (i < 3); i++) nt_status = connect_to_domain_password_server(&cli, remote_machine, setup_creds_as, sec_chan, trust_passwd, &retry); |