mirror of
https://github.com/samba-team/samba.git
synced 2025-03-25 14:50:24 +03:00
s3:winbindd: let winbind_samlogon_retry_loop() always start with authoritative = 1
Otherwise we could treat a local problem as non-authoritative. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15413 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> (cherry picked from commit 0cb6de4b1d5410f3699172952be81c6eb75c2c86)
This commit is contained in:
parent
0afed23bcd
commit
38a9e17d02
@ -1649,6 +1649,15 @@ static NTSTATUS winbind_samlogon_retry_loop(struct winbindd_domain *domain,
|
||||
struct rpc_pipe_client *netlogon_pipe;
|
||||
struct netlogon_creds_cli_context *netlogon_creds_ctx = NULL;
|
||||
|
||||
/*
|
||||
* We should always reset authoritative to 1
|
||||
* before calling a server again.
|
||||
*
|
||||
* Otherwise we could treat a local problem as
|
||||
* non-authoritative.
|
||||
*/
|
||||
*authoritative = 1;
|
||||
|
||||
retry = false;
|
||||
|
||||
result = cm_connect_netlogon_secure(domain, &netlogon_pipe,
|
||||
|
Loading…
x
Reference in New Issue
Block a user