mirror of
https://github.com/samba-team/samba.git
synced 2025-02-01 05:47:28 +03:00
s3:libads: re-initialize num_requests to 0 for cldap_ping_list retries
Commit 8132edf119757ee91070facffef016c93de9c2a6 introduced a retry loop arround cldap_multi_netlogon(), but it forgot to reset num_requests to 0 for the retries. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15416 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Wed Jul 5 11:17:43 UTC 2023 on atb-devel-224 (cherry picked from commit 6965e77268e1abfc21f1793c7cd006444938ac03)
This commit is contained in:
parent
36bb948060
commit
bdaf1b1c5c
@ -446,6 +446,7 @@ again:
|
||||
* The retry loop is bound by the timeout
|
||||
*/
|
||||
retry = false;
|
||||
num_requests = 0;
|
||||
|
||||
for (i = 0; i < count; i++) {
|
||||
char server[INET6_ADDRSTRLEN];
|
||||
|
Loading…
x
Reference in New Issue
Block a user