Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.9.1
-
Fix Version/s: 1.9.2
-
Component/s: Authentication
-
Labels:None
-
Affected Branches:MOODLE_19_STABLE
-
Fixed Branches:MOODLE_19_STABLE
Description
When we added password expiry support for AD to the LDAP authentication plugin in 1.8, we forgot to add the default attribute for this functionality to the $default array in ldap_getdefaults(). This means that the administration must specify the right value in the LDAP settings page, or otherwise password expiry won't work (contrary to what other LDAP backends do, and what MoodleDocs say).
The attached patches fix the issue for 1.8, 1.9 and HEAD.
Saludos. Iñaki.