Thread:Extension talk:LDAP Authentication/problem with LDAP users

Hi, I have a problem, the LDAP authentication always tells me "There is no user by the name"; but the username is correct because is the same that I use to login into my email account. The configuration data is:

include("extensions/LdapAuthentication/LdapAuthentication.php");

$wgAuth = new LdapAuthenticationPlugin;

$wgLDAPDomainNames = array( "test.com" );

$wgLDAPServerNames = array( "test.com" => "webmail.test.com" );

$wgLDAPSearchStrings = array("test.com" => "test.com\\USER-NAME");

$wgLDAPEncryptionType = array( "test.com" => "clear" );

$wgLDAPDisableAutoCreate = array("test.com"=>"false");

$wgLDAPDebug = 3;

$wgShowExceptionDetails = true;

$wgLDAPSearchAttributes = array("test.com"=>"displayname, mail");

$wgLDAPBaseDNs = array("test.com"=>"dn=''"); //We don't have any LDAP Base

I changed the real urls because I can not put the data of the company.

Thanks for helping me