Multiple ldap responses for a user

I have configured the users and group ldap and all is correct, in the admin panel i can see all users and groups from my ldap.

But when i’‘m going to do login with a jabber client i can’‘t with the message "Don’'t authorized", the log is showing this:

Search for userDN based on username ‘‘ecasbas’’ found multiple responses, throwing exception.

Exception thrown when searching for userDN based on username ‘‘ecasbas’’

org.jivesoftware.wildfire.user.UserNotFoundException: LDAP username lookup for ecasbas matched multiple entries.

at org.jivesoftware.wildfire.ldap.LdapManager.findUserDN(

I have created a searchFilter for users in order to only look for in one base only but then i can’'t log in the admin panel (yes i have the authorizedUsernames with ecasbas) and when i am going to login with the jabber client the log show this:

In LdapManager.checkAuthentication(userDN, password), userDN is: uid=“ecasbas”,ou=“mybase”…

Created context values, attempting to create context…

Caught a naming exception when creating InitialContext

javax.naming.AuthenticationException: LDAP: error code 49 - Invalid Credentials

Any suggestion?

Thank you

Emilio C.

Ok, here paste my configuration wich is working correctly right now for users authenticating against ldap

and listing groups.