The configuration required to use LDAPAuthentication with Mediawiki 1.27.x must change. It caused us problem when combining LDAPAuthentication with the Translate extension, which uses the local user Fuzzybot. We had to change
$wgAuth = new LdapAuthenticationPlugin();
by
$wgAuthManagerAutoConfig['primaryauth'] += [
LdapPrimaryAuthenticationProvider::class => [
'class' => LdapPrimaryAuthenticationProvider::class,
'args' => [ [
'authoritative' => true, // don't allow local non-LDAP accounts
] ],
'sort' => 50, // must be smaller than local pw provider
],
];
This was taken from here:
https://gerrit.wikimedia.org/r/#/c/293086/4/wmf-config/wikitech.php
and was pointed to me by Anomie in this chat log:
http://bots.wmflabs.org/~wm-bot/logs/%23wikimedia-dev/20161122.txt