Red Hat Bugzilla – Bug 192935
Winbind is not consistent with respect to lowercase/mixed case group names
Last modified: 2007-11-30 17:11:33 EST
Description of problem:
Winbind sometimes returns the group names in uppercase, sometimes in lowercase
Version-Release number of selected component (if applicable):
The first time we query about some specific user, the group names are shown in
uppercase. After we query about the specific group (getent group <groupname>),
the group name is returned in lowercase, and subsequent queries about any user
which belongs to this group will have the group name in lowercase.
Steps to Reproduce:
1. Add the computer to an Windows 2000 domain
2. id <someuser_with_mixed_case_groups>. The group names are returned with the
original group name (the name defined in Active Directory)
3. getent group <group_name_in_lowercase>. The group name is returned in
4. id <the_same_user_in_step_2>. The group shown in step 3 is now in lowercase
Before the getent group <groupname>, the group name are returned in mixed case.
After getent group <groupname>, the group name is returned in lowercase.
The user and group names must be always in lowercase.
After I added the computer to the domain, I changed the parameter "winbind use
default domain" to true, and deleted all tdb files in /var/cache/samba.
Restarting winbind makes the groupname be returned in mixed case again.
This should be fixed in 3.0.24. Please reopen if you still see case mismatches
Note that Samba now always uppercases the domain name and always lowercases the