When querying LDAP for users in recursive groups using MemberOf attribute, no results are returned

When querying LDAP for users in recursive groups using MemberOf attribute, no results are returned

131
Created On 11/10/26 10:54 AM - Last Modified 11/10/26 12:56 PM


Symptom


When trying to perform a Directory Mapping LDAP query for users in recursive groups through MemberOf attribute, the query does not return any result.
If the user object is a member of GroupA and GroupA is a member of GroupB, when performing an LDAP search for users as MemberOf GroupB, no result would be returned.


Environment


10.5;10.10;11.5;11.6;11.7;12.2;12.6;13.0 Privileged Access Manager (PAM, self-hosted) Vault Server Vault

Cause


The group recursive search option (enabled by the GroupRecursiveSearch parameter configured from the LDAP integration options), handles search for Group within Group scenario, but not for users within Group within Group scenario.

Resolution


In the query filter, specify the full DN of the Group that actually contains the user objects.

Additional Information


Details

SYMPTOM: 


When trying to perform a Directory Mapping LDAP query for users in recursive groups through MemberOf attribute, the query does not return any result.


If the user object is a member of GroupA and GroupA is a member of GroupB, when performing an LDAP search for users as MemberOf GroupB, no result would be returned.

 

PROBLEM:


The group recursive search option (enabled by the GroupRecursiveSearch parameter configured from the MicrosoftADProfile.ini file prior to ver 7.0 and directly form the LDAP integration options in ver 7.0 onwards), handles search for Group within Group scenario, but not for users within Group within Group scenario.

 

SOLUTION:


In the query filter, specify the full DN of the Group that actually contains the user objects.




Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj00000010ArCAI&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail