powered by Jive Software

Ldap uid issue

I installed Jive Messenger 2.2.0 in Debian Sarge and LDAP(OpenLDAP).

I configured LDAP with:

for the uid search. An according to logs, Jive is connecting with ldap server.

My problem is that the uid attribute of my users is user@domain.com, but it seems that Jive is only looking for the “user” part of the uid.

For example, if I connect with kopete, I set the server to the ip address of the jive server, and login to oarmas@domain.com format.

But the log of jive shows the following:


2005.09.01 17:37:42 Trying to find a user’'s DN based on their username. uid: oarmas, Base DN: ou=qmail_users,dc=mpsnet,dc=net,dc=m

x…

2005.09.01 17:37:42 Creating a DirContext in LdapManager.getContext()…

2005.09.01 17:37:42 Created hashtable with context values, attempting to create context…

2005.09.01 17:37:42 … context created successfully, returning.

2005.09.01 17:37:42 Starting LDAP search…

2005.09.01 17:37:42 … search finished

2005.09.01 17:37:42 User DN based on username ‘‘oarmas’’ not found.

2005.09.01 17:37:42 Exception thrown when searching for userDN based on username ‘‘oarmas’’

org.jivesoftware.messenger.user.UserNotFoundException: Username oarmas not found


That is, it is not searching for the uid I specified. It ignores the @domain part of the uid attribute. Is this a client or server issue? How to solve it?

Does Jive Messenger support the case when all uid’'s attributes has the format user@domain.com?

I use qmail-ldap and it’'d be great to have all my users with different domains available in XMPP.

Omar

What’‘s the user’'s cn set to? is it there email address or just their name? You could use their cn for their username.