Forum Discussion
refra_151287
Feb 07, 2016Cirrus
Q: mapping LDAP user group
Hi, I'm searching for mapping client group as I found to map teh clinet user but for group nothing worked with me, as below @ LDAP Query, i want to replace group limited_users with dynamic parameter:
SearchDN: dc=ldap,dc=test
SearchFilter: (distinguishedName=cn=%{session.logon.last.username},ou=limited_users,dc=ldap,dc=test)
- refra_151287Cirrus
it worked after combining between two expressions as below:
"(|(distinguishedName=cn=%{session.logon.last.username},ou=limited_users,dc=ldap,dc=test)(distinguishedName=cn=%{session.logon.last.username},cn=users,dc=ldap,dc=test))" ldapsearch -x -H 'ldap://192.168.1.1' -b "dc=ldap,dc=test" -s sub -D "administrator@ldap.test" -W "(|(distinguishedName=cn=%{session.logon.last.username},ou=limited_users,dc=ldap,dc=test)(distinguishedName=cn=%{session.logon.last.username},cn=users,dc=ldap,dc=test))"
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects