-
Bug
-
Resolution: Fixed
-
Major
-
2.0.3, 2.1.1, 2.2
-
Windows Server 2003, Apache/2.2.17 (Win32), PHP/5.3.6
-
MySQL
-
MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE
-
MOODLE_20_STABLE, MOODLE_21_STABLE
-
wip_
MDL-28402_HEAD_pwd_expiration_time_doesnt_work -
When configuring the LDAP authentication plugin (Plugins > Authentication > LDAP server) certain configuration fields such as "User attribute" and "Expiration attribute" are being converted to lower-case after clicking "save changes".
I also did some digging around inside auth/ldap.auth.php and found that at around line 584 which is within the password_expire function, the default value of "$this->config->expireattr" is set to "pwdlastset" whilst in Moodle 1.9 this gives the correct value of "pwdLastSet". Since this shows that default values are being stored as lower-case also the problem may not sit with the edit form.
I have tried setting these values manually within the database and can confirm that the table allows you to store the correct setting, although as soon as I go to LDAP Server settings and click "save changes" this reverts again.
Please note that this is currently rendering expired password checking non-functional.
NOTICED ON: Moodle 2.03 latest
- will help resolve
-
MDL-5454 LDAP eDirectory password expiration checks fail
-
- Closed
-