This thread is archived
4 Replies Last post: Sep 12, 2005 11:11 AM by Matt Tucker  
Tony Molloy Bronze 24 posts since
Aug 15, 2005
Currently Being Moderated

Sep 7, 2005 11:42 AM

Bug with LDAP users and capital letters

I found a problem (and a resolution) with LDAP users with weird capitalizations in their usernames:

 

We are using 2.2.1 and LDAPing users and groups from a Windows 2003 AD server.

 

After I upgraded to 2.2.1 today a user reported no one was showing up in her contact list. After troubleshooting, I saw the her windows account (login) name was different from everyone elses. Hers was in the format JUser (2 capital letters). Everyone else is using juser (no caps). After changing her windows login name (under the account tab in user management in Win2k3 AD users and computers) to all lower case and restarting the Jive server, she can see her roster again.

 

I did some testing and found that changing a user name in windows to use capitals breaks the roster for that user. It seems there is some sort of case-sensitive bug in the server when querying usernames?

 

FWIW, the ldap portion of my config is:

 

xxx..99.xxx.xxx 389 sAMAccountName cn mail CN=users,DC=library,DC=lib,DC=uconn,DC=edu CN=xxx,CN=Users,DC=xxx,DC=xxx,DC=xxx,DC=edu xxx ]]> <![CDATA[(&(member=)(objectClass=group)(|(CN=zLIST ITS: ITS Area staff)(CN=zLIST RIS: Research & Information Services)(CN=zLIST ACCESSRV: Access Services Staff)(CN=zLIST COLLSERV: Collection Services Staff)(CN=zLIST DODD: DRC Area Staff)(CN=zLIST DOAS: Administrative Area Staff)(CN=zLIST RCLCALL: Regional Campus Libraries Staff)))]]></groupSearchFilter>

</ldap>

Rick Dale Bronze 28 posts since
Aug 24, 2005
Currently Being Moderated
Sep 7, 2005 3:32 PM in response to: Tony Molloy
Re: Bug with LDAP users and capital letters

Yep, I discovered and documented this here:

http://www.jivesoftware.org/forums/message.jspa?messageID=102567#102567

 

I never got a response acknowledging it as a bug, so I changed the case on all my user accounts...

Gaston Dombiak Jiver 3,771 posts since
Sep 26, 2001
Currently Being Moderated
Sep 7, 2005 5:20 PM in response to: Rick Dale
Re: Bug with LDAP users and capital letters

Hey guys,

 

I just answered the other thread.  The problem is that XMPP specifies that JIDs cannot have upper case letters except for the resource part. That is the reason why you are having problems with those users. Try using lower cases letters only.

 

Regards,

 

  -- Gato

Matt Tucker Jiver 3,151 posts since
Jun 28, 2001
Currently Being Moderated
Sep 12, 2005 11:11 AM in response to: Tony Molloy
Re: Bug with LDAP users and capital letters

This is definitely a bug that should be fixed. I''ve filed JM-394.

 

-Matt

More Like This

  • Retrieving data ...