Group Filter in Directory mapping rules

Group Filter in Directory mapping rules

105
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 12:56 PM


Question


What is the purpose of the “Group Filter” field in the directory mapping rules?

Environment


11.5;11.7;12.0;12.1;12.2;12.6;13.0;13.2 Privileged Access Manager (PAM, self-hosted) Password Vault Web Access

Answer


The "Group Filter" parameter allows customizing LDAP user queries for LDAP directories other than Active Directories to filter users that are members of a group whose name matches the pattern specified in the "Group Filter" field, the "Branch" field and optionally the "Query Filter" field. For example, GROUP FILTER: cn=Domain Users,cn=Groups,dc=domain,dc=com.

For Active Directory, this could be achieved simply by using the "MemberOf" LDAP variable in the Query Filter field. For example, the following LDAP query "memberof=cn=Domain Users,cn=Groups,dc=Domain,dc=com" would return every user that is a member of Domain Users group.
 
Please note the following:

This field's matching is based on regular expression
It is advisable to use the "Group Filter" instead of the query filter because of its simpler syntax (and in some cases, improved performance)
By default, the Group Filter parameter checks for one level of group membership. In order to recursively search for groups, you can enable "GroupRecursiveSearch" parameter in the directory profile file ("%Program Files%\PrivateArk\Server\LDAP\Profiles\<DIRECTORY>Profile.ini" but this can have a performance impact on large directory.


Additional Information


Details

Q:
What is the purpose of the “Group Filter” field in the directory mapping rules?

A:

The "Group Filter" parameter allows customizing LDAP user queries for LDAP directories other than Active Directories to filter users that are members of a group whose name matches the pattern specified in the "Group Filter" field, the "Branch" field and optionally the "Query Filter" field. For example: GROUP FILTER: cn=Domain Users,cn=Groups,dc=domain,dc=com.

 

For Active Directory, this could be achieved simply by using the "MemberOf" LDAP variable in the Query Filter field. For example: the following LDAP query "memberof=cn=Domain Users,cn=Groups,dc=Domain,dc=com" would return every user that is a member of Domain Users group.

 

Please note the following:

  1. This field's matching is based on regular expression
  2. It is advisable to use the "Group Filter" instead of the query filter because of it simpler syntax (and in some cases, improved performance)
  3. By default, the Group Filter parameter checks for one level of group membership. In order to recursively search for groups, you can enable "GroupRecursiveSearch" parameter in the directory profile file ("%Program Files%\PrivateArk\Server\LDAP\Profiles\<DIRECTORY>Profile.ini" but this can have a performance impact on large directory.



Actions
  • Print
  • Copy Link

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