Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

share|improve this question
    
Are you doing anything special with SSH, or do you just need LDAP to (further) manage your user's home directories, permissions, etc. ? –  david6 Dec 28 '11 at 21:36
add comment

1 Answer

Install the libpam-ldap and libnss-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).

share|improve this answer
add comment

Your Answer

 
discard

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.