The branch, master has been updated
       via  6965e77268e s3:libads: re-initialize num_requests to 0 for 
cldap_ping_list retries
      from  bf7fbf7e2b6 s3-net: no secrets access required when processing a 
ODJ provisioning

https://git.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 6965e77268e1abfc21f1793c7cd006444938ac03
Author: Stefan Metzmacher <me...@samba.org>
Date:   Tue Jul 4 18:07:12 2023 +0200

    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 <me...@samba.org>
    Reviewed-by: Volker Lendecke <v...@samba.org>
    
    Autobuild-User(master): Volker Lendecke <v...@samba.org>
    Autobuild-Date(master): Wed Jul  5 11:17:43 UTC 2023 on atb-devel-224

-----------------------------------------------------------------------

Summary of changes:
 source3/libads/ldap.c | 1 +
 1 file changed, 1 insertion(+)


Changeset truncated at 500 lines:

diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c
index a01b1193013..3ba32d0cf44 100644
--- a/source3/libads/ldap.c
+++ b/source3/libads/ldap.c
@@ -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];


-- 
Samba Shared Repository

Reply via email to