For AD users(having home-directory set on AD), sometimes incorrect home-directory is assigned

Solution Verified - Updated -

Issue

  • For AD users(having home-directory set on AD using UnixHomeDirectory), sometimes incorrect home-directory(set in sssd.conf using fallback_homedir) is assigned:
[root@test]#  getent passwd ad_user
ad_user:*:1377430742:1377400513:ad_user:/home/test_ad_user:/bin/bash <----- Expected ("UnixHomeDirectory" is set to '/home/test_ad_user' on AD)

[root@test]# su - ad_user
Last login: Thu Mar 23 10:14:02 CET 2017 on pts/0

[root@test]$ logout

[root@test]#  systemctl restart sssd         

[root@test]#  getent passwd ad_user     
ad_user:*:1377430742:1377400513:ad_user:/home/ad_user:/bin/bash  <----- Unexpected ("fallback_homedir" set in 'sssd.conf' is assigned)

[root@test]#  sss_cache -u ad_user

[root@test]#  getent passwd ad_user
ad_user:*:1377430742:1377400513:ad_user:/home/test_ad_user:/bin/bash <----- Expected

Environment

  • Red Hat Enterprise Linux 6/7
  • Microsoft Active Directory(with POSIX attributes enabled)
  • sssd

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.