Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

up vote 4 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.