Pam unix vs. pam ldap
From Brandonhutchinson.com
pam_unix
- The userPassword attribute must be non-null
- The proxy agent (e.g., cn=proxyagent,ou=profile,dc=example,dc=com) must have read and search privileges for the userPassword attribute; i.e., ldaplist -l passwd will return all password hashes, similar to ypcat passwd in a NIS environment
- Requires passwords to be stored in {crypt} format on the LDAP server
pam_ldap
- The proxy agent (e.g., cn=proxyagent,ou=profile,dc=example,dc=com) does not need read and search privileges for the userPassword attribute
$ ssh user@host $ Password:
What happens next?
