Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.9.6
-
Fix Version/s: 1.9.7
-
Component/s: Authentication
-
Labels:None
-
Affected Branches:MOODLE_19_STABLE
-
Fixed Branches:MOODLE_19_STABLE
Description
As reported by David Binney:
After upgrading to the new version of moodle 1.9.6 i have been asked to change the admin password based on the password policy default. This would normally be ok if there was one admin and that was not linked to LDAP. However, our accounts are linked to ldap so it is impossible for moodle to manage the passwords in this way. So i was wondering if there is a way that the default can be permenantly set back to false/disabled or an alternative that will not require any changes of passwords from moodle's part?
Hello,
This has been fixed yesterday by Petr, where I reported the very same issue with CAS and Shiboleth authentifications . See MDL-20933.
However I do not know when the patches will hit CVS ...
In the meantime, what I have done to be able to login as admin is to comment out these lines in lib/moodlelib.php
// print_error('nopasswordchangeforced', 'auth'); <--------- this line appears at line # 1963 and 3309
Cheers