I have installed Ubuntu Server 11.10. I have setup LDAP with some users added.
Now i want to configure openssh to use this LDAP details to login to server. and once a user logs in each user should have their respective home directory.
I have installed Ubuntu Server 11.10. I have setup LDAP with some users added.
Now i want to configure openssh to use this LDAP details to login to server. and once a user logs in each user should have their respective home directory.
Install the
libpam-ldap
andlibnss-ldap
packages.While the packages are being installed, the setup process will ask you for the URI to your LDAP server, the DN of your LDAP search base, the LDAP version, etc, and then stores them in /etc/ldap.conf (or /etc/pam-ldap.conf and /etc/libnss-ldap.conf on older versions of Ubuntu).