Comment 13 for bug 423252

Revision history for this message
John Affleck (jraffleck) wrote : Re: NSS using LDAP on Karmic (alpha 4) breaks 'su' and 'sudo'

I think we're talking about two separate problems. I recompiled sudo-ldap as above, and still receive:
sudo: setresuid(user_uid, user_uid, ROOT_UID): Operation not permitted
..when I have ssl enabled in /etc/ldap.conf

In my case, the sudoers file is always local and contains:
<username> ALL=(ALL) ALL # Not literally <username>

When I have:
uri ldaps://192.168.1.1/
ssl on
..in /etc/ldap.conf, the above user will receive the above error.
When I change that to:
uri ldap://192.168.1.1/
ssl off
..it goes back to working again.

Matthias/Philipp - Are you using LDAP over SSL or just vanilla LDAP ? Are the users present in /etc/passwd, or only via LDAP ?