这似乎是一个愚蠢的问题,但是…我是否需要nss_ldap和pam_ldap让我的用户在LDAP? 在我看来,pam_ldap会负责根据需要在LDAP服务器上指向一切,我不知道nss_ldap为我添加了什么。
pam_ldap为用户提供authentication和授权信息。 nss_ldap提供其他用户信息,这些信息将在/ etc / passwd中,如uid,gid,home dir,gecos等等。