User names searches are case insensitive; group membership lookups case sensitive

Bug #484734 reported by Roel van Os
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libnss-ldap (Ubuntu)
Fix Released
Undecided
Unassigned
Jaunty
Won't Fix
Undecided
Unassigned
Karmic
Fix Released
Undecided
Unassigned
Lucid
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: libnss-ldap

We are using LDAP as a user database. Users log in using GDM on workstations running Ubuntu 9.04.

We've standardized on lowercase usernames. The problem is that when a user logs in using a login name that differs only in case (eg. Roel, roeL), logging in works, however the group memberships are not applied. This can be seen by running the id command:

$ id roel
uid=1004(roel) gid=513(Domain Users) groups=513(Domain Users),1000(General)

$ id Roel
uid=1004(roel) gid=513(Domain Users) groups=513(Domain Users)

Note the missing General group. This causes problems with accessing shared directories that are only accessible by certain groups. We've instructed the users to use lowercase letters, but IMHO login names should always be case sensitive.

Perhaps unrelated, it seems that the bug is fixed in the libnss-ldapd fork in Karmic: http://changelogs.ubuntu.com/changelogs/pool/universe/n/nss-ldapd/nss-ldapd_0.6.11ubuntu2/changelog

Ubuntu version:
Description: Ubuntu 9.04
Release: 9.04

libnss-ldap:
  Installed: 261-2.1ubuntu1
  Candidate: 261-2.1ubuntu1
  Version table:
 *** 261-2.1ubuntu1 0
        500 http://nl.archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status

Revision history for this message
Chuck Short (zulcss) wrote :

Im going to mark this fixed for karmic, but this would be a good candidate for an sru.

Regards
chuck

Changed in libnss-ldap (Ubuntu Karmic):
status: New → Fix Released
Changed in libnss-ldap (Ubuntu Lucid):
status: New → Fix Released
Revision history for this message
Roel van Os (roel-van-os) wrote :

If "fixed" means "install a fork" (libnss-ldapd), I agree. Perhaps libnss-ldapd should be moved from universe to main in favour of libnss-ldap.

Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Since Jaunty is EOL, closing Jaunty task as Won't Fix.

Changed in libnss-ldap (Ubuntu Jaunty):
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.