Forum Discussion
Ruggerfly1
Nimbostratus
Jun 25, 2018APM Advanced Resource Assign - LDAP query Wildcard use
Howdy,
Can you use a wildcard to sift through the results of "session.ldap.last.attr.memberOf" with the stock "Contains"?
I'm trying the below in the APM Advanced Resource assign Expression but it never works: expr { [mcget {session.ldap.last.attr.memberOf}] contains "CN=ACL-testsites*" }
Where the full ACL is ACL-testsites-users and ACL-testsites-computers, wanted to catch either with the Wildcard.
going to try starts with next.
thanks!
- Ruggerfly1
Nimbostratus
Update - changed from contains to matches_regex
looks to be working.
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