This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nscd/2132] Use nscd to support disconnected LDAP operation
- From: "arthur at arthurdejong dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 1 Nov 2009 14:49:41 -0000
- Subject: [Bug nscd/2132] Use nscd to support disconnected LDAP operation
- References: <20060109232507.2132.redhat@flyn.org>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From arthur at arthurdejong dot org 2009-11-01 14:49 -------
According to http://www.gnu.org/software/libc/manual/html_node/NSS-Modules-Interface.html there
are four error conditions that can be returned by an NSS module:
NSS_STATUS_TRYAGAIN+EAGAIN
NSS_STATUS_TRYAGAIN+ERANGE
NSS_STATUS_UNAVAIL+ENOENT
NSS_STATUS_NOTFOUND+ENOENT
Is it really correct for an NSS module to return NSS_STATUS_TRYAGAIN+EAGAIN when the LDAP server
is unavailable or would NSS_STATUS_UNAVAIL+EAGAIN be better (or perhaps something else)?
Wouln't it be better if nscd only enters data in the cache on NSS_STATUS_SUCCESS and
NSS_STATUS_NOTFOUND? (that should also solve this problem and probably be more consistent)
--
http://sourceware.org/bugzilla/show_bug.cgi?id=2132
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.