Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
9.5.5
-
None
-
Unknown
-
Description
Steps to reproduce :
- Install LDAP application 9.5.5 and configure it with an AD LDAP directory
- On a groovy page write a script that initializes a org.xwiki.contrib.ldap.XWikiLDAPUtils {{object, the XWikiLDAPUtils }}object will be used to retrieve users of a big AD group, (number of users > 1500), in 2 ways using the API :
public Map<String, String> getGroupMembers(String groupDN, XWikiContext context) throws XWikiException
-
- 1) Call the getGroupMembers(..) method using the group DN
- 2) Call the getGroupMembers(..) method using a search query (filter) of the same group, something like : (&(..)(MemberOf=CN=$GROUP_DN))
Expected result :
The method "getGroupMembers(..)" return all the group members in both cases when the group DN is used and when a filter is used.
Current result :
- The method getGroupMembers(..) return 0 members when the group DN is used
- The method getGroupMembers(..) return all group members (> 2000 users)