User-ID Group Mapping Settings - automatically fetching groups that start with name ABC_

Reply
L0 Member

User-ID Group Mapping Settings - automatically fetching groups that start with name ABC_

Hello! Our goal is to use AD groups in firewall policy rules that start with ABC_xxx_xxx. So I am wondering how we could achieve this without manually adding new groups to PaloAlto Group Include List.

 

I have already tried Custom Group filter with (CN=ABC_*) but this seem to find only users not groups (Link to KB https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000ClhTCAS)

 

Any ideas?

 

 

Tags (1)
L7 Applicator

Re: User-ID Group Mapping Settings - automatically fetching groups that start with name ABC_

@kosonju,

I believe that wildcard entries only work when filtering through the available groups in the GUI, not actually including it in the group-include-list. I personally find it much easier to add groups directly in the XML file or through the API; I find it actually takes a bit longer doing it through the GUI. 

L7 Applicator

Re: User-ID Group Mapping Settings - automatically fetching groups that start with name ABC_


@kosonju wrote:

Our goal is to use AD groups in firewall policy rules that start with ABC_xxx_xxx.

 


What about a simple LDAP filter to automatically import all these groups that start with "ABC".

L2 Linker

Re: User-ID Group Mapping Settings - automatically fetching groups that start with name ABC_

You want to specify your (cn=ABC_*) as a Group Objects search filter on the Server Profile tab of your group mapping settings. 

This will retrieve only the ABC_* groups without using the group include list. 

 

Keep in mind that if you have nested groups included in ABC_123_456 that do not meet the search filter (ie XYZ_456_786), the nested group members will not be incldued in the group membership. 

 

The Custom Group tab will search the user attributes based on the search filter to create dynamic groups not specified directly in the LDAP store, it is not used to limit groups returned from the directory. 

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!

The Live Community thanks you for your participation!