Bug 1380806 - SSSCTL should not be case sensitive when searching for usernames or groups in a case-insensitive domain
Summary: SSSCTL should not be case sensitive when searching for usernames or groups in...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: sssd
Version: 7.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Michal Zidek
QA Contact: Dan Lavu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-30 15:32 UTC by Dan Lavu
Modified: 2020-12-14 07:46 UTC (History)
7 users (show)

Fixed In Version: sssd-1.15.0-2.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-01 09:00:03 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github SSSD sssd issues 4268 0 None None None 2020-05-02 18:33:10 UTC
Red Hat Product Errata RHEA-2017:2294 0 normal SHIPPED_LIVE sssd bug fix and enhancement update 2017-08-01 12:39:55 UTC

Description Dan Lavu 2016-09-30 15:32:32 UTC
Description of problem:

The SSSCTL utility should act like other unix commands like (id, getent) and should not be case sensitive when searching for userids and groups in the cache. 

Version-Release number of selected component (if applicable):


How reproducible:

Always.

Steps to Reproduce:
1. Setup SSSD against AD, (realm join $domain)
2. Edit sssd.conf to contain ifp
3. Login as user that contains lower case and upper case characters or a group, i.e. "Domain Users"
4. Use SSSCTL to search for the user in the cache

Actual results:

[root@ibm-dx360m4-01 ~]# sssctl group-show "domain users"
Group domain users is not present in cache.

Expected results:

[root@ibm-dx360m4-01 ~]# sssctl group-show "domain users"
Name: Domain Users
Cache entry creation date: 09/28/16 19:03:34
Cache entry last update time: 09/28/16 19:03:34
Cache entry expiration time: 09/28/16 20:33:34
Cached in InfoPipe: No


Additional info:

The search currently is case sensitive, searching for "Domain Users" does reply the object in the cache.

Comment 2 Jakub Hrozek 2016-09-30 21:40:57 UTC
Hi Michal, can you take a look, please? Feel free to clone the bug when it's confirmed to be a bug or just close it when it's certain it's not.

Comment 3 Michal Zidek 2016-10-03 08:08:26 UTC
Hi, I will take a look at it.

Comment 4 Jakub Hrozek 2016-11-07 15:24:31 UTC
Upstream ticket:
https://fedorahosted.org/sssd/ticket/3235

Comment 5 Jakub Hrozek 2016-11-28 10:35:38 UTC
Easy enough, but not too critical. for 7.4. If we have time and there is a patch, we'll include the patch by all means

Comment 6 Jakub Hrozek 2016-12-15 09:46:06 UTC
* 35ecfab87a24031e55798b22975e02832ee0f2ad
* 715abb607540945cc82355e94712da7ac9746a67
* d6e875c49d6be650a03fc14f00a680734b23ef66
* 867bb85ecc8117aa8bdde9add0df8857cf87236e

Comment 8 Dan Lavu 2017-05-31 20:55:13 UTC
Verified against sssd-1.15.2-33.el7.x86_64

[root@beast ~]# sssctl group-show "domain users"
Name: domain users
Cache entry creation date: 05/31/17 16:54:53
Cache entry last update time: 05/31/17 16:54:53
Cache entry expiration time: 05/31/17 18:24:53
Cached in InfoPipe: No

Comment 9 errata-xmlrpc 2017-08-01 09:00:03 UTC
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://access.redhat.com/errata/RHEA-2017:2294


Note You need to log in before you can comment on or make changes to this bug.