2

This seems like a dumb question, but... do I need both nss_ldap and pam_ldap to have my users in LDAP? It seems to me that pam_ldap would take care of pointing everything at the LDAP server as needed, and I don't know what nss_ldap adds for me.

Bill Weiss
  • 10,979
  • 3
  • 38
  • 66

1 Answers1

6

pam_ldap provides the authentication and authorization information for a user. nss_ldap provides the other user information that would be in /etc/passwd such as the uid, gid,home dir, gecos, and so on.

Mark Wagner
  • 18,019
  • 2
  • 32
  • 47