(AD に home ディレクトリが設定されている) AD ユーザーの場合に、割り当てられている home ディレクトリが間違っている可能性がある

Solution Verified - Updated -

Issue

  • (UnixHomeDirectory を使用して AD に home ディレクトリが設定されている) AD ユーザーの場合に、割り当てられている (fallback_homedir を使用して sssd.conf に設定した) home ディレクトリが間違っている可能性があります。
[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
  • (POSIX 属性が有効になっている) Microsoft Active Directory
  • 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.