#2453 group members returned in lowercase with case_sensitive=preserving
Closed: Fixed None Opened 5 years ago by jhrozek.

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1147936

Description of problem:
group members are returned in lowercase with case_sensitive=preserving

Version-Release number of selected component (if applicable):
sssd-1.12.1-2.el7

How reproducible:
Always

Steps to Reproduce:
1. Add the following user and group to ldap server
dn: cn=User_CS1_grp1,ou=Groups,dc=example,dc=com
objectClass: posixGroup
memberUid: User_CS1
cn: User_CS1_grp1_Alias
cn: User_CS1_grp1
gidNumber: 304560

dn: uid=User_CS1,ou=Users,dc=example,dc=com
objectClass: posixAccount
objectClass: account
cn: User_CS1
homeDirectory: /home/User_CS1
userPassword:: XXXXX
uid: User_CS1_Alias
uid: User_CS1
uidNumber: 304560
gidNumber: 304560

2. Set case_sensitive=preserving in domain section of sssd.conf

3. Lookup group
# getent group user_cs1_grp1
User_CS1_grp1:*:304560:user_cs1

# getent group User_CS1_grp1
User_CS1_grp1:*:304560:user_cs1


Actual results:
The case is converted to lowercase for group members

Expected results:
Case should be preserved for group members too.

Additional info:
id lookup of user shows group names with preserved cases.
# id user_cs1
uid=304560(User_CS1) gid=304560(User_CS1_grp1) groups=304560(User_CS1_grp1)

# id User_CS1
uid=304560(User_CS1) gid=304560(User_CS1_grp1) groups=304560(User_CS1_grp1)

Fields changed

blockedby: =>
blocking: =>
changelog: =>
coverity: =>
design: =>
design_review: => 0
feature_milestone: =>
fedora_test_page: =>
mark: no => 0
owner: somebody => mzidek
review: True => 0
selected: =>
testsupdated: => 0

Fields changed

patch: 0 => 1

resolution: => fixed
status: new => closed

Fields changed

milestone: NEEDS_TRIAGE => SSSD 1.12.2

Metadata Update from @jhrozek:
- Issue assigned to mzidek
- Issue set to the milestone: SSSD 1.12.2

2 years ago

Login to comment on this ticket.

Metadata