Sunday, January 31, 2010

LDAP Authentication in Jaunty (Ubuntu 9.04)

(Step 1) you will be asked for a configuration during the installation process including the rootbinddn and ldap uri
$ sudo apt-get install auth-client-config ldap-auth-client

(Step 2) modify nsswitch file
passwd: compat ldap
group: compat ldap
shadow: compat ldap

(Step 3) create the file ldap.secret containg the password for rootbinddn