我需要 nss_ldap 和 pam_ldap 吗?

Bil*_*iss 2 ldap authentication pam pam-ldap

这似乎是一个愚蠢的问题,但是...我是否需要 nss_ldap 和 pam_ldap 才能让我的用户使用 LDAP?在我看来,pam_ldap 会根据需要负责将所有内容指向 LDAP 服务器,而我不知道 nss_ldap 为我添加了什么。

Mar*_*ner 6

pam_ldap 为用户提供身份验证和授权信息。nss_ldap 提供/etc/passwd 中的其他用户信息,例如uid、gid、home dir、gecos 等。