I'm setting up LDAP authentication on my personal VPS, and Ubuntu has two packages for the same purpose: libpam-ldap
and libpam-ldapd
. Which should I use?
Ubuntu – libpam-ldap or libpam-ldapd
authenticationdebianldappamUbuntu
authenticationdebianldappamUbuntu
I'm setting up LDAP authentication on my personal VPS, and Ubuntu has two packages for the same purpose: libpam-ldap
and libpam-ldapd
. Which should I use?
Best Answer
I am very fond of
libpam-ldapd
, have been using it for a year now in production on quite a few Ubuntu servers. I can recommend it overlibpam-ldap
.The project is originally called
nss-pam-ldapd
and on its homepage you can find a list of its biggest advantages over the oldlibpam-ldap
package.Edit: In conjunction with
libpam-ldapd
on Ubuntu you should also look into theauth-client-config
package to correctly configure PAM et al.