[sudo-users] LDAP problem

Todd C. Miller Todd.Miller at courtesan.com
Mon Aug 29 14:27:03 EDT 2011


On Mon, 29 Aug 2011 12:22:52 EDT, John Berninger wrote:

> I've checked my /etc/ldap.conf file and it contains the correct 
> sudoers_base reference.The nsswitch.conf file contains "sudoers: ldap". 
> LDAP lookups of users via both ldapsearch and id/getent type commands 
> work normally.

You might try running as root:

    sudo -V | grep 'ldap.*path'

You should see something like:

    ldap.conf path: /etc/ldap.conf
    ldap.secret path: /etc/ldap.secret

If the ldap.conf path is set to something other than /etc/ldap.conf
that that is likely your problem.

 - todd



More information about the sudo-users mailing list