Переглянути джерело

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 роки тому
батько
коміт
ee0f8c8759
1 змінених файлів з 0 додано та 3 видалено
  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())