Group Based network policy not being blocked.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Group Based network policy not being blocked.

L0 Member

Hello,

 

I have an openldap server setup as well as an LDAP policy and group mapping on the Palo Alto firewall.

 

When I run the 'show user group name "cn=employees,ou=groups,dc=brillnet,dc=com". I can see the users in the group just fine. Refer to the output below.

 

edlyle_0-1714159919760.png

 

I am using the UserID xml api to associate group/user to ip mappings. Calls to the api are working when a user logs into the openldap server. I know this because I can see the user-id tagging in the api log, refer to the screenshot below.

 

 

edlyle_3-1714159961648.png

 

I created a policy that blocks any user in the employees group referenced in the screenshots above. Refer to the output below.

 

edlyle_4-1714159989788.png

 

However the above deny is not working. Does anyone know why this is happening?

2 REPLIES 2

L4 Transporter

Hello,

Have you enabled User identification when you configure L3-trust security zone?

https://docs.paloaltonetworks.com/pan-os/10-2/pan-os-admin/user-id/enable-user-id 

If you don't enable user identification on source zone, then the security policy will not take into account User-ID info.

Cheers,
Cosmin

Don't forget to Like items if a post is helpful to you!
Please help out other users and “Accept as Solution” if a post helps solve your problem!

Read more about how and why to accept solutions.

Disclaimer: All messages are my personal ones and do not represent my company's view in any way.

Hello,

 

Thank you for your reply. Yes, user identification is enabled on the trust zone. Refer to the screenshot below.

edlyle_0-1714408100034.png

 

  • 1343 Views
  • 2 replies
  • 0 Likes
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 LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!