Forum Discussion
eric_haupt1
Nimbostratus
Apr 03, 2019APM LDAP Query Failure - not using fallback
I running an LDAP query in a policy that is performing
return [mcget {session.ldap.last.attr.userPrincipalName}]
I know this is working for known UPNs, but I'm not catching the exceptions ...
eric_haupt1
Nimbostratus
Apr 04, 2019Ok - I shifted the logic. The input for the query is taken care of in the filter.
So for my success branch I use
expr { [mcget {session.ldap.last.queryresult}] == 1 }
and getting the expected results:
LDAP query is good based on valid filter input = success
LDAP query fails based on input not found (no such object) = session.ldap.last.queryresult = 0 and fallback path is taken.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
