Forum Discussion
William_Them_99
Nimbostratus
Sep 27, 2006LDAP Auth iRule Question
In the default _sys_auth_ssl_cc_ldap iRule, many of the events use the following check:
if {$tmm_auth_ssl_cc_ldap_sid eq [AUTH::last_event_session_id]} {
...
}
Can anyone describe to me situations in which this IF statement would evaluate to false and fail?
In our AUTH_FAILURE event, I had written some logic outside this IF statement, and it seems that in some cases, the AUTH_FAILURE event was being executed and the IF statement was evaluating to false, resulting in bugs because the code I wrote should have only happened in tandem with the code that's within the IF.
I suppose the glaringly obvious solution is for me to just put the code within the IF statement, but it's a bit more tricky. This problem occured in our Production system and I can't seem to recreate it in the Development system, so I need to be able to prove why moving it within the IF block would fix it, because I can't risk the bugs that the previous method caused in Production.
Thanks for any insight.
-Bill
No RepliesBe the first to reply
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