#3599 getent output is not showing home directory for IPA AD trusted user
Closed 6 years ago Opened 6 years ago by jhrozek.

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

Description of problem:
IPA server with AD trust setup is showing AD users homedir as root (/)

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

[root@qe-blade-01 ~]# rpm -qa ipa-server sssd
ipa-server-4.5.4-6.el7.x86_64
sssd-1.16.0-9.el7.x86_64


[root@qe-blade-01 ~]# echo <XXXXX> | ipa trust-add ipaad2016.test --admin
Administrator --range-type=ipa-ad-trust --password --two-way=True
-----------------------------------------------
Re-established trust to domain "ipaad2016.test"
-----------------------------------------------
  Realm name: ipaad2016.test
  Domain NetBIOS name: IPAAD2016
  Domain Security Identifier: S-1-5-21-813110839-3732285123-1597101681
  Trust direction: Two-way trust
  Trust type: Active Directory domain
  Trust status: Established and verified

[root@qe-blade-01 ~]# service sssd stop; rm -rf /var/lib/sss/{db,mc}/*; service
sssd start
Redirecting to /bin/systemctl stop sssd.service
Redirecting to /bin/systemctl start sssd.service

[root@qe-blade-01 ~]# getent passwd 'IPAAD2016\Administrator'
administrator@ipaad2016.test:*:1577600500:1577600500:Administrator:/:

[root@qe-blade-01 ~]# grep homedir /etc/sssd/sssd.conf
homedir_substring = /home



How reproducible:
100%

Steps to Reproduce:
1.  Setup AD server with user aduser
2.  Setup IPA server with trust to AD
3.  getent passwd 'AD.DOMAIN\aduser'

Actual results:
homedir is /

Expected results:
homedir is /home/AD.DOMAIN/aduser

Additional info:
Attached sssd_log

Metadata Update from @jhrozek:
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1520984

6 years ago

Metadata Update from @jhrozek:
- Issue assigned to jhrozek

6 years ago

Metadata Update from @jhrozek:
- Issue tagged with: PR, bug, regression

6 years ago

Metadata Update from @jhrozek:
- Issue set to the milestone: SSSD 1.16.1

6 years ago

Metadata Update from @lslebodn:
- Custom field version adjusted to 1.16.1

6 years ago

Metadata Update from @lslebodn:
- Issue status updated to: Closed (was: Open)

6 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/4622

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