فهرست منبع

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())