For AD users(having home-directory set on AD), sometimes incorrect home-directory is assigned
Issue
- For AD users(having home-directory set on AD using
UnixHomeDirectory), sometimes incorrect home-directory(set insssd.confusingfallback_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, tools, and much more.