Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo User (http://www.linux-archive.org/gentoo-user/)
-   -   %LDAP sudoers (http://www.linux-archive.org/gentoo-user/67610-ldap-sudoers.html)

Mario Ignacio Rodríguez Cortés 04-10-2008 03:29 PM

%LDAP sudoers
 
Hi list:

I have a problem at the moment that i try to execute a command as a sudo
user, quikly, I have two machines, the first is my LDAP server and the
second is my client on LDAP, the authentication whit any user that is in
the LDAP data base is succesful, but when i execute the sudo command i
get the following lines in the /var/log/messages:

nss_ldap: reconnecting to LDAP server (sleeping 1 seconds)...
nss_ldap: reconnecting to LDAP server (sleeping 2 seconds)...
nss_ldap: reconnecting to LDAP server (sleeping 4 seconds)...
nss_ldap: reconnecting to LDAP server (sleeping 8 seconds)...
nss_ldap: could not search LDAP server - Server is unavailable
uid 1050 does not exist in the passwd file! ; TTY=pts/9 ; PWD=unknown ;
USER=root ; COMMAND=vim
Unable to locate mail
Cannot open mail:25


I follow the guide sudo README.LDAP
(http://www.sudo.ws/sudo/readme_ldap.html) and i made all the steps in
this guide but the messages are still displayed, the guide say in
certain point that the sudoers file can be disabled putting in
the /etc/sudoers the line "Defaults ignore_local_sudoers", I did this
too but the same messages.

I don't understand why continues seek the user in the /etc/passwd file,
any idea?

Thanks to all.
--
gentoo-user@lists.gentoo.org mailing list


All times are GMT. The time now is 05:04 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.