[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: I can't get root level access rights(sudo) from ldap



Am Sat, 13 Mar 2010 18:28:08 +0800
schrieb Zengming Zhang <nicegiving@gmail.com>:

> Hi everyone:
> 
> 	Please help me, I can't get root level access rights(sudo)
> from ldap.When I try to use sudo command, there is an error report:
> 	"user is not in the sudoers file.  This incident will be
> reported."

[...]
> ##################
> My server configurations are:
> 
> [1]/etc/openldap/slapd.conf:
> ------------------------------
> The sudoers.schema has been included and indexed:
> include         /etc/openldap/schema/sudoers.schema
> index sudoUser                          eq

Please provide access rules from slapd.conf

[...]

> [2]/etc/ldap.conf:
> ------------------------------
> sudoers_base has been set:
> sudoers_base ou=SUDOers,dc=file-server

see man ldap.conf(5) for proper configuration
[...]

-Dieter

-- 
Dieter Klünter | Systemberatung
http://dkluenter.de
GPG Key ID:8EF7B6C6
53°37'09,95"N
10°08'02,42"E