Forum Discussion
APM mcget multiple results
Hi,
I'm trying to compare the output of an [ mcget {session.ldap.last.attr.cn} ] with a specific string. However, I do actually have several variables that could serve this purpose...
The output of "sessiondump -allkeys" with some grep will retrieve something like this:
session.ldap.last.attr.cn
session.ldap.last.attr.cn.1
session.ldap.last.attr.cn.2
session.ldap.last.attr.cn.3
Is there any means to build an expression to go through each variable and do run for a match ? Does the mcget accepts wildcards for the session variables?
Best regards,
Pedro
- Yoann_Le_Corvi1
Cumulonimbus
Hi
Not quite sure why you have multiple CN there. Can you let us know what you LDAP Query is, and what you are trying to achieve. Maybe a nice LDAP filter in the LDAP query could do the trick to do what you need ?
Yoann
- Pedro_Boavida
Nimbostratus
Hi Yoann,
The query is ran against an OpenLDAP directory and user's group membership is defined this way....
Regards
- Yoann_Le_Corvi1
Cumulonimbus
Hi
Sorry I didn't get it... You are querying OpenLDAP to get user's group membership ? And want to make a decision based on group membership of the user ?
Yoann
Recent Discussions
Related Content
* 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