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

-- 
sudo-ldap not working with ldaps
https://bugs.launchpad.net/bugs/115967
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to