Open Marcin-Bujek opened 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
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