Bug 1071903

Summary: ipa-server-mode: Use lower-case user name component in home dir path
Product: Red Hat Enterprise Linux 7 Reporter: Jakub Hrozek <jhrozek>
Component: sssdAssignee: Jakub Hrozek <jhrozek>
Status: CLOSED CURRENTRELEASE QA Contact: Kaushik Banerjee <kbanerje>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 7.0CC: grajaiya, jgalipea, lslebodn, mkosek, nsoman, pbrezina, preichl, sbose, spoore
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: sssd-1.11.2-53.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-13 12:01:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jakub Hrozek 2014-03-03 12:38:53 UTC
This bug is created as a clone of upstream ticket:
https://fedorahosted.org/sssd/ticket/2263

In older IPA server versions where the AD users where looked up by winbind the user name component of the home directory path was always lower case.  This still holds for IPA clients as well. To avoid regression in ipa-server-mode the user name component should be lower case as well.

Comment 1 Scott Poore 2014-03-03 13:52:40 UTC
FYI, This is an example of what I saw related to this bug:

IPA Server:

[root@rhel7-1 ipa-trust-functional]# getent passwd 'AD2\Administrator'
administrator.test:*:551800500:551800500:Administrator:/home/ad2.example.test/Administrator:

IPA Client:

[root@rhel7-3 ipa-trust-functional]# getent passwd administrator.test
administrator.test:*:551800500:551800500::/home/ad2.example.test/administrator:

Comment 2 Jakub Hrozek 2014-03-03 21:01:58 UTC
Fixed upstream:
    master: 48b1db73639135dd4a15ee153f958c912836c621
    sssd-1-11: dd89da0ff1601e95c12c000e5c37e5883784e032

Comment 4 Scott Poore 2014-03-12 20:02:59 UTC
Verified.

Version ::

sssd-1.11.2-58.el7.x86_64

Results ::

Checking on IPA Server with AD Trust after upgrading SSSD to listed version:

[root@rhel7-1 ipa-password]# getent passwd 'AD2\Administrator'
administrator.test:*:551800500:551800500:Administrator:/home/ad2.example.test/administrator:

^^ administrator instead of Administrator

Comment 5 Ludek Smid 2014-06-13 12:01:07 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.