centos 6 sudoers
Hi. I am currently going from CentOS 5.X to CentOS 6.0. Before I had configured my 5.X client machines with the following
/etc/ldap.conf
-added uri
-configured to use tls
-added base
-added bindn
-added sudoers_base ou=sudoers,dc=mydomain,dc=com
/etc/nsswitch.conf
-changed shadow/passwd/groups and added sudoers
Now Centos 6 ldap configurations are in nslcd.conf in /etc/. I added the configuration in there for ldap and was able to authenticate using ldap now. However, when I put in the suders_base it says it is an unknown directive when I try to start ldap. I tried putting --disable-configfile-checking in the rc script but it nslcd does not like that directive either.
My question is in CentOS 6 how do I instruct ldap to go to a specific ou on the ldap server when sudo consults it for a sudo operation. I used to just do it in /etc/ldap.conf but that is not working anymore.
|