Kline, Sara wrote:
Our OpenLDAP environment is up and functional and is working great. I was asked if there is a way to have the server email users when their account password is about to expire. For instance, 7 days before expiration they get an email that lets them know their password will expire on date x. Is there functionality within OpenLDAP to do this, or has anyone written a script that would do it?
We are using the policy overlay to enforce the password policy.
You have to write an external script which searches for (pwdChangedTime<=x) with x calculated from current time and password expiration time.
Ciao, Michael.