-
Bug
-
Resolution: Fixed
-
Minor
-
2.3.1, 2.7.2, 2.8, 3.0.4, 3.1.1
-
MOODLE_23_STABLE, MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_30_STABLE, MOODLE_31_STABLE
-
MOODLE_30_STABLE, MOODLE_31_STABLE
-
MDL-35104-master-2 -
-
3.2 Sprint 1
Sometimes you need to change the username in Moodle because there has been a legal name change and your hands are tied. However if you do this with manual authentication (no problem) with ldap auth you get an error message generated.
Replication steps:
- Log in as Admin
- Pick a user with ldap authentication
- Change username (to match change in AD that has been done manually)
- Sit back and see the error message
The Moodle server tries to update AD - but I don't want AD to be updated.
Error message:
Failed to update user data on external auth: ldap. See the server logs for more details.
|
|
More information about this error
|
Debug info:
|
Error code: cannotupdateuseronexauth
|
Stack trace:
|
|
line 467 of \lib\setuplib.php: moodle_exception thrown
|
line 184 of \user\editadvanced.php: call to print_error()
|
- has been marked as being related by
-
MDL-53806 In LDAP Authentication, a new user is created when the username is changed
-
- Closed
-
- is duplicated by
-
MDL-29597 Cannot change user username when authentication is LDAP
-
- Closed
-
- will be (partly) resolved by
-
MDL-21928 Rename user on change in external datasource
-
- Closed
-