When you mix local users with AD/LDAP users, you should be able to change the passwords of the local ones from command line.
However, in this scenario, changePassword.php fails regardless $wgLdapAuthUseLocal value:
$ php maintenance/changePassword.php --conf LocalSettings.php --user Admin --password mysupersecurepassword
The authentication data change was not handled. Maybe no provider was configured?
This PR allows you to change those passwords when $wgLdapAuthUseLocal is set to true:
$ php maintenance/changePassword.php --conf LocalSettings.php --user Admin --password mysupersecurepassword
Password set for Admin
When you mix local users with AD/LDAP users, you should be able to change the passwords of the local ones from command line. However, in this scenario, changePassword.php fails regardless $wgLdapAuthUseLocal value:
This PR allows you to change those passwords when $wgLdapAuthUseLocal is set to true: