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
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.
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.
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!)
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!)
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
Anyone else have this feature working?
Have a look at my reply in http://moodle.org/mod/forum/discuss.php?d=38240 (to keep the thread in just one place).
Saludos. Iñaki.
Saludos. Iñaki.