sudo-ldap not authing with ldap
Hi all,
I'm trying to get sudo-ldap working but am having issues. I'm using Fiesty (I think). I installed sudo-ldap and all required dependencies. I was able to get LDAP to work while authing users to log in on this box, so that part works. I added the line:
SUDOERS_BASE ou=SUDOers,
to /etc/ldap/
sudoers: files ldap
to /etc/common.*
/etc/pam.d/sudo is there and looks right, pam stuff looks OK, it is authing SSH and local logins against the LDAP server.
I know it CAN work, as we have several RedHat machines using LDAP based sudo against the LDAP server, I just don't know what I'm missing for Ubuntu... I can't seem to find Ubuntu specific docs for this config. I tried following the docs for the source distribution, and that got it working on RedHat, but Ubuntu is still not working... Can anyone point me in the right direction?
weiler@host:~$ sudo -s
sudo: uid 15000 does not exist in the passwd file!
weiler@host:~$ 2009-07-11 16:13:19 Failed to get user name for uid 15000
UID 15000 is my uid number for user 'weiler', and I can 'id' and 'finger' myself and that works:
weiler@host:~$ id weiler
uid=15000(weiler) gid=1000(ldapusers) groups=
weiler@host:~$
Why can't sudo see it?
Thanks a million!
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu sudo Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask bubble1975 for more information if necessary.