Problems with LDAP Authentication

Hi,

i have a problem with the LDAP-Authentication (and maybe the search filter).

debug.log:

2005.11.11 16:45:24 Trying to find a user’'s DN based on their username. uid: fehmsen, Base DN: ou=bp-hh,o=bp…

2005.11.11 16:45:24 Creating a DirContext in LdapManager.getContext()…

2005.11.11 16:45:24 Created hashtable with context values, attempting to create context…

2005.11.11 16:45:24 … context created successfully, returning.

2005.11.11 16:45:24 Starting LDAP search…

2005.11.11 16:45:25 … search finished

2005.11.11 16:45:25 Search for userDN based on username ‘‘fehmsen’’ found multiple responses, throwing exception.

2005.11.11 16:45:25 Exception thrown when searching for userDN based on username ‘‘fehmsen’’

The User fehmsen has an Alias with the same name in a subcontainer. I tried following searchfilter:

But with no success.

Any Idea?

Thanks for the help.

bye

b

Could you post your LDAP configuration (the contents of the ‘‘ldap’’ element in jive-messenger.xml)?

Is the ‘‘uid’’ attribute part of the RDN? Are there any other attributes in the RDN (i.e. do you use compound RDN)?

Btw, in the search filter you have posted, the (ui d=) has a space between ‘‘ui’’ and ‘‘d’’.

Message was edited by:

ddimitro

I think I encountered the same problem.

Check out my post titled “LDAP and alias entries”

http://www.jivesoftware.org/community/thread.jspa?threadID=17260&tstart=0

it may have a solution that works for you.