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.

ldap_get_entries converts the attribute index to lowercase.