summaryrefslogtreecommitdiff
path: root/source3/auth
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-11-09 03:48:39 +0000
committerJeremy Allison <jra@samba.org>2002-11-09 03:48:39 +0000
commitd4c4b3f2605071e8515c09c8e9aeba57e4d0fe98 (patch)
tree57489d777ee92c1a94c11cb04fc8d316c4bed653 /source3/auth
parent0c2f84dfd00d6f6141726150ec816d8804c70e88 (diff)
downloadsamba-d4c4b3f2605071e8515c09c8e9aeba57e4d0fe98.tar.gz
samba-d4c4b3f2605071e8515c09c8e9aeba57e4d0fe98.tar.bz2
samba-d4c4b3f2605071e8515c09c8e9aeba57e4d0fe98.zip
Fix bug found by tpot with given password server.
Jeremy. (This used to be commit d46b4cb563850c77ee23b95df35a7f752a235d35)
Diffstat (limited to 'source3/auth')
-rw-r--r--source3/auth/auth_domain.c2
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);