[sudo-users] Sudoers on LDAP for RHEL6
JR Aquino
JR.Aquino at citrix.com
Sun May 8 14:47:26 EDT 2011
There was a file name change in RHEL6.
Try changing the config name to:
/etc/nss_ldap.conf
Let me know if that solves your issue.
On May 8, 2011, at 11:42 AM, "Todd C. Miller" <Todd.Miller at courtesan.com> wrote:
> On Sun, 08 May 2011 15:22:27 +0300, avigdor wrote:
>
>> I have sudoers on LDAP for RHEL5, and it's working fine. My server is
>> OpenLDAP on RHEL4, still.
>>
>> I'm trying to configure RHEL6 to work with LDAP, as client, but I don't
>> succeed.
>> It works fine with the sudoers file.
>> I configured the /etc/ldap.conf, even though ldap client is not using it,
>> for sudo.
>> I checked /etc/pam.d/sudo, that seems to be fine, no change done.
>> I configures /etc/nsswitch.conf
>
> You should add the following line to /etc/ldap.conf:
>
> sudoers_debug 2
>
> that should cause sudo to print debugging info when it tries to
> connect to LDAP and may point you in the right direction.
>
> - todd
> ____________________________________________________________
> sudo-users mailing list <sudo-users at sudo.ws>
> For list information, options, or to unsubscribe, visit:
> http://www.sudo.ws/mailman/listinfo/sudo-users
More information about the sudo-users
mailing list