Authentication

 
 
Picture of Siamak Alavi
LDAP Force change password issue
 

Hi All,

I have installed moodle 2.3.3+ on ubuntu server appache 5.3.10, LDAPS.

Users can log in using https and they can change their password after log in in their profile settings.

I need users to change their password in first log in to get their Google apps account to work. So I change the Force change password in ldap settings but it doesn't work and users can log in without force them to change their password.

If I force them to change password in next login through Active Directory, they can not login. 

below is my LDAP settings in Moodle:

Host URL ldaps://192.168.0.22

version 3

Ldap encoding utf-8

.

.

.

Force change password= yes

Use standard page for changing password=yes

Password format = Plain text

Password-change URL= http://moodle.mydomain/login/change_password.php

Thanks

 
Average of ratings: -
Picture of Graham Stone
Re: LDAP Force change password issue
Group Testers

Hi Siamak,

If I understand your problem correctly it could be down to  how Moodle is storing your LDAP passwords. 

To ensure that Moodle doesn’t store the LDAP password. In http:/yourmoodlesite/admin/auth_config.php?auth=ldap Bind settings Hide passwords Select yes to prevent passwords from being stored in Moodle's DB. This way when learners log in the password is checked from the LDAP server not Moodle.

Hope this helps.

 

 

 
Average of ratings: -
Picture of Siamak Alavi
Re: LDAP Force change password issue
 

Hi Graham,

Thank you for your reply.

I need to force users to change their password in first log in. But if I enable it in AD users are unable to log in, if I activate this force option trough LDAP settings in moodle nothing they will be able to log in without force to change password.

Thanks

 
Average of ratings: -
Picture of Iñaki Arenaza
Re: LDAP Force change password issue
Group DevelopersGroup Documentation writersGroup Particularly helpful Moodlers
Have a look at http://tracker.moodle.org/browse/MDL-28585 and http://tracker.moodle.org/browse/MDL-32584

They might get into 2.5, but you could backport them to 2.3.x if you can't wait for 2.5 or can't upgrade to it.

Saludos.
Iñaki.
 
Average of ratings: -