<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article Group Filter in Directory mapping rules in PAM Self-Hosted Articles</title>
    <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-articles/group-filter-in-directory-mapping-rules/ta-p/1429073</link>
    <description>&lt;H3&gt;Question&lt;/H3&gt;
What is the purpose of the “&lt;EM&gt;Group Filter&lt;/EM&gt;” field in the directory mapping rules?

&lt;H3&gt;Answer&lt;/H3&gt;
The "&lt;EM&gt;Group Filter&lt;/EM&gt;" 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 "&lt;EM&gt;Group Filter&lt;/EM&gt;" field, the "&lt;EM&gt;Branch&lt;/EM&gt;" field and optionally the &lt;EM&gt;"Query Filter"&lt;/EM&gt; field. For example,&amp;nbsp;&lt;EM&gt;GROUP FILTER: cn=Domain Users,cn=Groups,dc=domain,dc=com.&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;For Active Directory, this could be achieved simply by using the "&lt;EM&gt;MemberOf&lt;/EM&gt;" LDAP variable in the Query Filter field. For example, the following LDAP query "&lt;EM&gt;memberof=cn=Domain Users,cn=Groups,dc=Domain,dc=com&lt;/EM&gt;" would return every user that is a member of Domain Users group.&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Please note the following:&lt;BR /&gt;&lt;BR /&gt;This field's matching is based on regular expression&lt;BR /&gt;It is advisable to use the "&lt;EM&gt;Group Filter&lt;/EM&gt;" instead of the query filter because of its simpler syntax (and in some cases, improved performance)&lt;BR /&gt;By default, the Group Filter parameter checks for one level of group membership. In order to recursively search for groups, you can enable "&lt;EM&gt;GroupRecursiveSearch&lt;/EM&gt;" parameter in the directory profile file ("&lt;EM&gt;%Program Files%\PrivateArk\Server\LDAP\Profiles\&amp;lt;DIRECTORY&amp;gt;Profile.ini&lt;/EM&gt;" but this can have a performance impact on large directory.

&lt;B&gt;&lt;U&gt;&lt;FONT face="Verdana, Helvetica, sans-serif"&gt;&lt;SPAN style="font-size: small;"&gt;Q&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/U&gt;&lt;/B&gt;&lt;FONT face="Verdana, Helvetica, sans-serif"&gt;&lt;SPAN style="font-size: small;"&gt;:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;DIV&gt;&lt;FONT face="Verdana, Helvetica, sans-serif"&gt;&lt;SPAN style="font-size: small;"&gt;What is&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face="Verdana, Helvetica, sans-serif"&gt;&lt;SPAN style="font-size: small;"&gt;the purpose of the “Group Filter” field in the
directory mapping rules?&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Verdana, Helvetica, sans-serif"&gt;&lt;SPAN style="font-size: small;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;B&gt;&lt;U&gt;&lt;FONT face="Verdana, Helvetica, sans-serif"&gt;&lt;SPAN style="font-size: small;"&gt;A&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/U&gt;&lt;/B&gt;&lt;FONT face="Verdana, Helvetica, sans-serif"&gt;&lt;SPAN style="font-size: small;"&gt;:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;FONT face="Verdana, Helvetica, sans-serif"&gt;&lt;SPAN style="font-size: small;"&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif"&gt;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.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN style="font-size: small;"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif"&gt;
&lt;/FONT&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN style="font-size: small;"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif"&gt;

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&lt;/FONT&gt;.&lt;/SPAN&gt;
&lt;P&gt;&lt;FONT face="Verdana, Helvetica, sans-serif"&gt;&lt;SPAN style="font-size: small;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana, Helvetica, sans-serif"&gt;&lt;SPAN style="font-size: small;"&gt;Please note the following:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN style="font-family: Verdana, Helvetica, sans-serif;font-size: small;"&gt;This field's matching is based on regular expression&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-family: Verdana, Helvetica, sans-serif;font-size: small;"&gt;&lt;SPAN style="font-family: Arial;font-size: 13px;"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif"&gt;&lt;SPAN style="font-size: small;"&gt;It
is advisable to use the "Group Filter" instead of the query filter because of it
simpler syntax (and in some cases, improved performance)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-family: Verdana, Helvetica, sans-serif;font-size: small;"&gt;&lt;SPAN style="font-family: Arial;font-size: 13px;"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif"&gt;&lt;SPAN style="font-size: small;"&gt;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\&amp;lt;DIRECTORY&amp;gt;Profile.ini" but this can have a performance
impact on large directory.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 26 Jun 2023 06:06:40 GMT</pubDate>
    <dc:creator>CyberArkAlumni</dc:creator>
    <dc:date>2023-06-26T06:06:40Z</dc:date>
    <item>
      <title>Group Filter in Directory mapping rules</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-articles/group-filter-in-directory-mapping-rules/ta-p/1429073</link>
      <description>&lt;H3&gt;Question&lt;/H3&gt;
What is the purpose of the “&lt;EM&gt;Group Filter&lt;/EM&gt;” field in the directory mapping rules?

&lt;H3&gt;Answer&lt;/H3&gt;
The "&lt;EM&gt;Group Filter&lt;/EM&gt;" 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 "&lt;EM&gt;Group Filter&lt;/EM&gt;" field, the "&lt;EM&gt;Branch&lt;/EM&gt;" field and optionally the &lt;EM&gt;"Query Filter"&lt;/EM&gt; field. For example,&amp;nbsp;&lt;EM&gt;GROUP FILTER: cn=Domain Users,cn=Groups,dc=domain,dc=com.&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;For Active Directory, this could be achieved simply by using the "&lt;EM&gt;MemberOf&lt;/EM&gt;" LDAP variable in the Query Filter field. For example, the following LDAP query "&lt;EM&gt;memberof=cn=Domain Users,cn=Groups,dc=Domain,dc=com&lt;/EM&gt;" would return every user that is a member of Domain Users group.&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Please note the following:&lt;BR /&gt;&lt;BR /&gt;This field's matching is based on regular expression&lt;BR /&gt;It is advisable to use the "&lt;EM&gt;Group Filter&lt;/EM&gt;" instead of the query filter because of its simpler syntax (and in some cases, improved performance)&lt;BR /&gt;By default, the Group Filter parameter checks for one level of group membership. In order to recursively search for groups, you can enable "&lt;EM&gt;GroupRecursiveSearch&lt;/EM&gt;" parameter in the directory profile file ("&lt;EM&gt;%Program Files%\PrivateArk\Server\LDAP\Profiles\&amp;lt;DIRECTORY&amp;gt;Profile.ini&lt;/EM&gt;" but this can have a performance impact on large directory.

&lt;B&gt;&lt;U&gt;&lt;FONT face="Verdana, Helvetica, sans-serif"&gt;&lt;SPAN style="font-size: small;"&gt;Q&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/U&gt;&lt;/B&gt;&lt;FONT face="Verdana, Helvetica, sans-serif"&gt;&lt;SPAN style="font-size: small;"&gt;:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;DIV&gt;&lt;FONT face="Verdana, Helvetica, sans-serif"&gt;&lt;SPAN style="font-size: small;"&gt;What is&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face="Verdana, Helvetica, sans-serif"&gt;&lt;SPAN style="font-size: small;"&gt;the purpose of the “Group Filter” field in the
directory mapping rules?&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Verdana, Helvetica, sans-serif"&gt;&lt;SPAN style="font-size: small;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;B&gt;&lt;U&gt;&lt;FONT face="Verdana, Helvetica, sans-serif"&gt;&lt;SPAN style="font-size: small;"&gt;A&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/U&gt;&lt;/B&gt;&lt;FONT face="Verdana, Helvetica, sans-serif"&gt;&lt;SPAN style="font-size: small;"&gt;:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;FONT face="Verdana, Helvetica, sans-serif"&gt;&lt;SPAN style="font-size: small;"&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif"&gt;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.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN style="font-size: small;"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif"&gt;
&lt;/FONT&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN style="font-size: small;"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif"&gt;

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&lt;/FONT&gt;.&lt;/SPAN&gt;
&lt;P&gt;&lt;FONT face="Verdana, Helvetica, sans-serif"&gt;&lt;SPAN style="font-size: small;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana, Helvetica, sans-serif"&gt;&lt;SPAN style="font-size: small;"&gt;Please note the following:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN style="font-family: Verdana, Helvetica, sans-serif;font-size: small;"&gt;This field's matching is based on regular expression&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-family: Verdana, Helvetica, sans-serif;font-size: small;"&gt;&lt;SPAN style="font-family: Arial;font-size: 13px;"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif"&gt;&lt;SPAN style="font-size: small;"&gt;It
is advisable to use the "Group Filter" instead of the query filter because of it
simpler syntax (and in some cases, improved performance)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-family: Verdana, Helvetica, sans-serif;font-size: small;"&gt;&lt;SPAN style="font-family: Arial;font-size: 13px;"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif"&gt;&lt;SPAN style="font-size: small;"&gt;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\&amp;lt;DIRECTORY&amp;gt;Profile.ini" but this can have a performance
impact on large directory.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 26 Jun 2023 06:06:40 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-articles/group-filter-in-directory-mapping-rules/ta-p/1429073</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2023-06-26T06:06:40Z</dc:date>
    </item>
  </channel>
</rss>

