Password expiration support for AD

Password expiration support for AD

von C R -
Anzahl Antworten: 4
I want moodle to tell the user when the password is about to expire, we are using ldap.

how can this be done? I have seen : http://tracker.moodle.org/browse/MDL-4687 , but that is dated from 2007

thanks
Mittelwert:  -
Als Antwort auf C R

Re: Password expiration support for AD

von Heather P -
Nutzerbild von Particularly helpful Moodlers
Hello
if you go to the authentication page within Moodle - the bit where you choose to use LDAP and then go to the settings of it. If you scroll a long way down the page there is a section that says LDAP password expiration settings.
However I seem to recall that to make this work (and I could be miss remembering, or it could have changed with later versions of Moodle) that you have to allow Moodle to be able to write to the Active Directory not just read from it. Well here that was just a 'no go', they don't mind me reading from it, but not writing to it, so I never actually managed to get this feature to work.
I'm sure if you search the forums there are several messages about it.
Als Antwort auf Heather P

Re: Password expiration support for AD

von C R -
cheers i have searched the forums.
From what i read the write to AD from moodle was for the user to be able to change their AD password from within moodle, which is a feature I do no want either.

I believe I need to edit the code in /auth/ldap/auth.php to allow AD support for password expiration. Which is the link in my first post, however that was made in 2007, and I cannot get the patch file to work (being on a windows machine doesnt help!)
Als Antwort auf C R

Re: Password expiration support for AD

von C R -

Im on moodle 1.9.1 if that is any help? I looked at the auth.php and compared to the diff file, seems like it is incorporated into the build now but it doesnt seem to be working traurig

Anyone else have this feature working?