Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Oct 2011 15:42:17 -0400
From:      Teratux <raespi@uci.cu>
To:        freebsd-stable@freebsd.org
Subject:   Re: nsswitch problem ...
Message-ID:  <4E8B6199.8090803@uci.cu>
In-Reply-To: <4E85CB98.7040904@uci.cu>
References:  <4E85CB98.7040904@uci.cu>

next in thread | previous in thread | raw e-mail | index | archive | help
Bump ...

anyone ??

On 09/30/2011 10:00 AM, Teratux wrote:
> Hi ... I've been trying for some time now to allow offline logging in 
> my pc which connects to a LDAP server.  I've configured my 
> nsswitch.conf like so:
>
> passwd:         cache files ldap #compat
> group:          cache files ldap #compat
> shadow:         cache files ldap #compat
>
> hosts:          cache files mdns4_minimal [NOTFOUND=return] dns mdns4
> networks:       cache files
>
> protocols:      db files
> services:       cache db files
> ethers:         db files
> rpc:            db files
>
> netgroup:       nis
>
> My nscd daemon is also configured to hold it's cache for a long period 
> of time.  When I reboot my machine I cannot login as an LDAP user 
> eventhough the nscd is running ( using the $id <user> command ).  I'm 
> simulating an offline environment shutting down the ethernet link so 
> there's no connection with the ldap server and to test if the nsswitch 
> mechanism works.  Unfortunately it doesn't.  Checking the 
> /var/log/auth.log when I try to login as an LDAP user I see messages 
> of nss_ldap trying to locate the ldap server, and ignoring my cache.
>
> Can anyone help me ??
>
> Thanks ...

La causa de Gerardo, Ramon, Antonio, Fernando y Rene es la causa irrenunciable de la nacion cubana
http://www.antiterroristas.cu
http://justiciaparaloscinco.blogspot.com




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E8B6199.8090803>