#2459 netgroup lookups returned in lowercase with case_sensitive=preserving
Closed: Invalid None Opened 9 years ago by jhrozek.

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

Description of problem:
netgroup lookups returned in lowercase with case_sensitive=preserving

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

How reproducible:
Always

Steps to Reproduce:
1. Add the following ldif to ldap server:
dn: cn=NetGroup_CS1,ou=Netgroups,dc=example,dc=com
objectClass: nisNetgroup
cn: NetGroup_CS1_Alias
cn: NetGroup_CS1
nisNetgroupTriple: (Host1.example.com,User1,example.com)

2. Confiure sssd with case_sensitive=false

3. Lookup netgroup
getent netgroup netgroup_cs1


Actual results:
# getent netgroup netgroup_cs1
netgroup_cs1          (Host1.example.com,User1,example.com)

Expected results:
Should not be lowercased.

Additional info:

Reassigning to Michal. Please note this has a lower priority than the non-root sssd feature.

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

milestone: NEEDS_TRIAGE => SSSD 1.12.3

This upstream ticket was requesting by a downstream. Bumping the priority to make sure the ticket is closed as soon as possible.

priority: major => critical

I will close this as wontfix. Copy-pasting explanation from bugzilla bellow:

Hi,

I looked into this and I see this as NOTABUG. The reason is that we do not control the format of netgroup name in the getnetgr response packet. The packet only contains netgroup triples. The name of netgroup printed on the screen is always in the same case as the name entered by user when invoking getent.

So there is not much we can do about this, preserve and false will always behave the same with netgroups.

Michal

_comment0: I will close this as wontfix. Copy-pasting explanation from bugzilla bellow.

{{{
Hi,

I looked into this and I see this as NOTABUG. The reason is that we do not control the format of netgroup name in the getnetgr response packet. The packet only contains netgroup triples. The name of netgroup printed on the screen is always in the same case as the name entered by user when invoking getent.

So there is not much we can do about this, preserve and false will always behave the same with netgroups.

Michal
}}}
=> 1414097573608564
resolution: => wontfix
status: new => closed

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

7 years ago

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/3501

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Login to comment on this ticket.

Metadata