New Attribute: fsuEduPasswordDate
01/04/2006
I added an attribute named fsuEduPasswordDate
I populated this attribute with 20051221 for everyone. Obviously the format is YYYYMMDD
I updated the script mdsoti.fsu.edu:/usr/local/ad-integration/edir-setpassword.cgi with the following code.
###############################
# update fsuEduPasswordDate
$date = new Date::Business();
$img = $date->image();
$result = $ldap->modify($userdn, delete => [ 'fsuEduPasswordDate' ] );
$result = $ldap->modify($userdn, add => { 'fsuEduPasswordDate' => $img });
I also wrote a script named mdsdata.uc.fsu.edu:/root/updateScripts/fsuEduPasswordDate.pl.
This script will send an eMail 4 days prior to and on the day a user's password expires, set to 90 days for now. Thus a user would receive up to five messages warning them of the expiration date. I don't think we need a separate attribute to indicate a password is expired as that can be inferred from the date.
- Donny
|