Comment 11 for bug 115967

Revision history for this message
Robin Horton (paklids) wrote :

I was seeing this same behavior on Lucid and was able to correct this after several steps, the last step seemed to be most important:

1. Create local account with necessary permissions. Login as that user.
2. install and run nscd (using 'sudo apt-get install nscd' and '/etc/init.d/nscd restart')
3. Added the additional line in my ldap.conf 'tls_cacert' (add whichever one was not there - not sure if this step is even necessary)
4. Add the line 'session required pam_mkhomedir.so skel=/etc/skel/' to /etc/pam.d/common-session. This creates the user's home directory and seems to affect the sudo functionality.

I now have no difficulty opening an ssh session to the box as an LDAP user and using sudo. I am still using a local /etc/sudoers (not the updated ldap version of sudoers).

--paklids