Mario Fetka wrote:
How to disable the possibility to change the password
for user.
I think you can either change in includes/AuthPlugin.php, the function
function allowPasswordChange() {
return true;
}
to return false instead of true.
or you can create your own authentication plugin that simply extends the class AuthPlugin
and override that function.
then you have to add something like $wgAuth = new myAuthPlugin(); in LocalSettings.php.
This allow you to avoid any modification the mediawiki source code.
I don't know about the details though but you should find some idea about how to do it
easily by watching some of the authentication extensions on
mediawiki.org
(e.g.
http://www.mediawiki.org/wiki/Extension:LDAP_Authentication)
Alexis