Forum Discussion
Stanislas_Piro2
Oct 12, 2017Cumulonimbus
Hi,
are you sure the userPrincipalName is fetched by the LDAP query?
I recommend to do this check with variable assign instead of irule.
session.custom.result ==
expr {[mcget {session.ldap.last.attr.userPrincipalName}] == [mcget {session.cert.UPN}]}
this will return 1 if same value, 0 if different.