]> 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)
committerDouglas Bagnall <dbagnall@samba.org>
Wed, 30 Oct 2024 23:08:36 +0000 (23:08 +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>
source3/rpc_client/cli_netlogon.c

index fe28e2669a2f59368cd90395cb202e70b094e5d4..f871c573d7d98b10a63d4859f55eae0376b072c1 100644 (file)
@@ -397,6 +397,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;
                }