Forum Discussion

sam_111661's avatar
sam_111661
Icon for Nimbostratus rankNimbostratus
Mar 25, 2009

ldap auth

Anybody can help me understand this part of the irule below and mainly the 3 commented lines in the middle? it is a part of the default ldap authentication rule.

 

 

If multiple auth sessions are pending

 

if {([array size tmm_auth_http_sids] > 1) } {

 

Abort the other auth sessions

 

--->foreach {type sid} [array get tmm_auth_http_sids] {

 

---> unset tmm_auth_http_sids($type)

 

--->if {($type ne "ldap") and ($sid != -1)} {

 

AUTH::abort $sid

 

incr tmm_auth_http_collect_count -1

 

}

 

}

 

}

 

 

No RepliesBe the first to reply