1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

Fix bug found by tpot with given password server.

Jeremy.
(This used to be commit 90ac8184a0)
This commit is contained in:
Jeremy Allison 2002-11-09 03:57:28 +00:00
parent 02c58f3fb9
commit 5a21d8021a

View File

@ -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);