Samuel Martín Moro <faus...@gmail.com> writes:
> Using it since a few, almost without any problem.  Just one thing:
> while connected to some external intranet, nscd still try to contact
> my LDAP.

Well, by default, nscd caches hits for an hour and misses for a minute.
One could imagine an option to have nscd return the cached entry if it
can't contact the server, even if it has technically expired, but the
problem is that nscd doesn't know what the backend is and can't reliably
tell whether the lookup failed because the server is unreachable or just
because the entry does not exist; and even if it could, it would still
have to query the backend every time, so you might still get a longish
timeout for every lookup, depending on the type of backend and the
reason it failed.

DES
-- 
Dag-Erling Smørgrav - d...@des.no
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to