Hello Group,
I am trying to configure sudo to consult an openldap server. I configured ldap.conf and nsswitch.conf as follows:
ldap.conf:
Code:
sudoers_base ou=SUDOers,dc=example,dc=com
nsswitch.conf:
Code:
sudoers: files ldap
When running sudo -l, I get the following error:
Code:
$ sudo -l
sudo: can't stat /etc/sudoers: No such file or directory
sudo is still trying to query it's local sudoers file.
Any advise will be greatly appreciated.
Regards,
Shuple