shanept / mediawiki-LdapAuth

New LdapAuthentication provider plugin for mediawiki
GNU General Public License v3.0
4 stars 6 forks source link

info: undocumented parameters #15

Open Marcin-Bujek opened 5 years ago

Marcin-Bujek commented 5 years ago

Hi, I'd like to share my experiences.

My config: Debian 10, mediawiki 1.33, newest ldapauth and ldap/AD. I had a problems with connection to AD. After a week and a half of torment I solved it by add undocumented LdapAuth parameters to LocalSettings.php:

$wgLdapAuthUsernameField = [ 'domain.local' => 'sAMAccountName', ]; $wgLdapAuthDisplayNameField = [ 'domain.local' => 'displayName', ];

I also noticed that many of the known parameters require array type, it doesn't work as a string.

Best, Marcin