I am in charge of setting up a Cisco ASA 5xxx firewall with an OpenLDAP server for authentication in VPN. Everything is working fine so far.
However, I am trying to check the "memberOf" property of the user to assess if he is able to connect to a connection profile tunnel. In fact, I have a few connection profiles and I want to prevent users to access every of them. Depending on the memberOf value, I want to allow or not the access to the tunnel for the user. So I started to use a DAP rule to check the memberOf ldap attribute of the user being authenticated. This memberOf is an overlay in my OpenLDAP server, and there are as many memberOf attributes.
I am able to filter a rule based on "ldap.uid" and deny the access depending on the user name. If I try to filter with "ldap.memberOf" it does not work anymore. It's like the cisco DAP rule does not recognize this specific attribute or it's value. I do not understand why :/. This attribute is of the form: "cn=myGroup,ou=Groups,dc=xxxx,dc=yyyy". I have literally copy/paste the value in my firewall DAP's rule.
I use ASDM for managing the firewall and I'm not familiar with the command line for it...
If someone has an idea to make it work with "memberOf", I would be very grateful :D
Thank you in advance