Thread:Extension talk:LDAP Authentication/Attribute names match only in lower case

$wgLDAPPreferences = array( "mydomain" => array( "realname" => "givenName" ) );

doesn’t work.

$wgLDAPPreferences = array( "mydomain" => array( "realname" => "givenname" ) );

works.

Because ldap_get_entries converts the attribute index to lowercase.

So the extension should also convert the user configuration settings to lowercase before comparing.