]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:cli_netlogon: let rpccli_connect_netlogon() use force_reauth = true on retry
authorStefan Metzmacher <metze@samba.org>
Wed, 30 Oct 2024 11:10:49 +0000 (12:10 +0100)
committerJule Anger <janger@samba.org>
Wed, 13 Nov 2024 10:39:11 +0000 (10:39 +0000)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15425

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
(cherry picked from commit 7f478656dcf08619bc3a7ad390c7db3bfdef924e)

source3/rpc_client/cli_netlogon.c

index 762802d327806acade61559c8b4ace4a2cdc88de..84122584cb82406598d7966973b6ab9a3516862c 100644 (file)
@@ -387,6 +387,7 @@ again:
                if (!retry && NT_STATUS_EQUAL(status, NT_STATUS_NETWORK_ACCESS_DENIED)) {
                        DBG_DEBUG("Retrying with serverauthenticate\n");
                        TALLOC_FREE(lck);
+                       force_reauth = true;
                        retry = true;
                        goto again;
                }