Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionKaushik Banerjee
2014-10-16 06:40:06 UTC
Description of problem:
service 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.
dn: cn=Svc1,ou=Services,dc=example,dc=com
objectClass: ipService
cn: svc1_alias1
cn: SVC1_Alias2
cn: Svc1
ipServicePort: 65535
ipServiceProtocol: Tcp
ipServiceProtocol: udp
ipServiceProtocol: dummy_proto
2. Configure and start sssd with case_sensitive=preserving
3. Lookup service
Actual results:
# getent services Svc1
svc1 65535/tcp svc1_alias1 svc1_alias2
# getent services 65535/TCP
svc1 65535/tcp svc1_alias1 svc1_alias2
Expected results:
Case should not be lowered
Additional info:
Only the name of the service has it's case preserved. The protocol name and aliases are still lowercased.
On testing with sssd-1.12.2-7.el7, I get:
# getent services SVC1
Svc1 65535/tcp svc1_alias1 svc1_alias2
(In reply to Kaushik Banerjee from comment #5)
> Only the name of the service has it's case preserved. The protocol name and
> aliases are still lowercased.
>
> On testing with sssd-1.12.2-7.el7, I get:
> # getent services SVC1
> Svc1 65535/tcp svc1_alias1 svc1_alias2
Michal would explain better, but I'm afraid this is a limitation that we can't work around if we want to keep the case-insensitive /matching/.
Can we take this as a current design limitation and file a (deferred) ticket to also keep the case of services and protocols in case a customer or a user is also interested in this functionality?
We can also document this shortcoming in the man pages.
I missed that this bugzilla had new comments, so sorry for delayed answer. Jakub is right, we can not preserve the alias and protocol names without loosing case-insensitivity. The upstream man page was already updated to mention this.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://rhn.redhat.com/errata/RHBA-2015-0441.html