Authentication

我需要 nss_ldap 和 pam_ldap 嗎?

  • November 16, 2010

這似乎是一個愚蠢的問題,但是……我是否需要 nss_ldap 和 pam_ldap 才能讓我的使用者在 LDAP 中?在我看來,pam_ldap 會根據需要負責將所有內容指向 LDAP 伺服器,我不知道 nss_ldap 為我添加了什麼。

pam_ldap 為使用者提供認證和授權資訊。nss_ldap 提供可能在 /etc/passwd 中的其他使用者資訊,例如 uid、gid、home dir、gecos 等。

引用自:https://serverfault.com/questions/202603