Forum Discussion
How to Disable fields after AD Password expired
If I understand well, you do not want to give user the option to create new password when previous one is expired.
This is actually a default behavior of AD Auth
One option is to use AD Query before AD Auth and add this "Expression: expr {[mcget {session.ad.last.queryresult}] == 0 && [ string tolower [mcget {session.ad.last.errmsg}]] contains [ string tolower "Password has expired"]}" as a branch with a custom deny ending.
Second option is to use LDAP Auth instead AD Auth.
Thanks Injeyan.
Finally we used the LDAP Auth option.
This involved changing the config in the Auth policy but it worked fine. 🙂
Regards.
Recent Discussions
Related Content
* 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