Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
up vote 5 down vote accepted

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.

share|improve this answer
Oh, right. I should have known that :( – Bill Weiss Nov 16 '10 at 20:08

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.