[Bug 423252] Re: NSS using LDAP on Karmic breaks 'su' and 'sudo'
cdmiller
cdmiller at adams.edu
Wed Mar 31 21:45:20 BST 2010
Finally got a chance to revisit this after post #29 above. For that
servers config I still had a local /etc/passwd entry for the affected
account and so was not triggering the described su and sudo symptoms.
On Karmic with:
libnss-ldap 261-2.1ubuntu4
sudo 1.7.0-1ubuntu2.1
login 1:4.1.4.1-1ubuntu2
Without an /etc/passwd entry and an otherwise working libnss-ldap setup
sudo returns
sudo: setreuid(ROOT_UID, user_uid): Operation not permitted
and su fails with
su: Authentication failure
Tests:
With libnss-ldap, su and sudo fail.
With nscd and libnss-ldap, su and sudo work.
With libnss-ldapd, with or without nscd, su and sudo work.
As root, getent returns passwd entries correctly for all the above cases.
--
NSS using LDAP on Karmic breaks 'su' and 'sudo'
https://bugs.launchpad.net/bugs/423252
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libnss-ldap in ubuntu.
More information about the Ubuntu-server-bugs
mailing list