Sfoglia il codice sorgente

HPCC-15109 LDAP Resources listed twice in ECLWatch

The LDAP paged result feature introduced an extra loop in the getResources()
method that results in each resource being returned twice or more. This PR
removes the extra loop

Signed-off-by: Russ Whitehead <william.whitehead@lexisnexis.com>
Russ Whitehead 9 anni fa
parent
commit
ee0f8c8759
1 ha cambiato i file con 0 aggiunte e 3 eliminazioni
  1. 0 3
      system/security/LdapSecurity/ldapconnection.cpp

+ 0 - 3
system/security/LdapSecurity/ldapconnection.cpp

@@ -3226,9 +3226,6 @@ public:
                 StringBuffer descbuf;
                 StringBuffer curname;
                 CLDAPGetAttributesWrapper   atts(ld, message);
-                for ( attribute = atts.getFirst();
-                      attribute != NULL;
-                      attribute = atts.getNext())
                 {
                     CLDAPGetValuesLenWrapper vals(ld, message, attribute);
                     if (vals.hasValues())