[sudo-users] no valid sudoers sources found - trying to get sudo working with ldap

Todd C. Miller Todd.Miller at courtesan.com
Mon Sep 20 12:05:17 EDT 2010


In message <4C9764A2.4080400 at gmail.com>
	so spake george (george):

> I have an LDAP server running openldap-2.3.43-12.el5_5.2 against which 
> my test users are able to authenticate. I have since installed the sudo 
> scheme and I built sudo-ldap using the mkpg tools that comes with the 
> sudo source files and installed the rpm generated from this. In 
> /etc/nsswitch.conf I have the line:
> 
> sudoers: ldap
> 
> and /etc/openldap/ldap.conf
> 
> I have the following in my ldap.conf
> 
> sudoers_base ou=SUDOers,dc=unmarkedtek,dc=com
> 
> When I run sudo with one of my users I get the error:
> 
> "no valid sudoers sources found"

Sudo uses /etc/ldap.conf, not /etc/openldap/ldap.conf; that is
probably the source of your problem.

 - todd



More information about the sudo-users mailing list