Thread:Extension talk:LDAP Authentication/Problem with $wgLDAPSearchAttributes

Hello everyone,

I configured the plug-in correctly and can authenticate users with their e-mails $wgLDAPSearchAttributes = array( "xyz" => "mail" ); but the plug-in can not use this attribute with "uid" and can not log-in with user names. We use SUN ldap... What can be the problem?

$wgLDAPDomainNames = array( "xyz" );

$wgLDAPServerNames = array( "xyz" => "ldapsrv3.xyznet.xyz.com" );

$wgLDAPBaseDNs = array( "xyz" => "ou=personel,o=xyz" );

$wgLDAPProxyAgent = array( "xyz" => "uid=WIKIUSER,ou=People,o=xyz" );

$wgLDAPProxyAgentPassword = array( "xyz" => "WIKIUSER" );

$wgLDAPSearchAttributes = array( "xyz" => "mail" );

$wgLDAPEncryptionType = array( "xyz" => "clear" );