mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-12 16:20:06 +00:00
Update.
2004-10-03 Juerg Billeter <j@bitron.ch> * nscd/nscd_initgroups.c (__nscd_getgrouplist): Return -1 if nscd can't be used.
This commit is contained in:
parent
27e8285643
commit
48ad81fa2f
@ -1,3 +1,8 @@
|
||||
2004-10-03 Juerg Billeter <j@bitron.ch>
|
||||
|
||||
* nscd/nscd_initgroups.c (__nscd_getgrouplist): Return -1 if nscd
|
||||
can't be used.
|
||||
|
||||
2004-10-03 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
Dynamically create new threads if necessary.
|
||||
|
@ -81,8 +81,11 @@ __nscd_getgrouplist (const char *user, gid_t group, long int *size,
|
||||
sock = __nscd_open_socket (user, userlen, INITGROUPS, &initgr_resp_mem,
|
||||
sizeof (initgr_resp_mem));
|
||||
if (sock == -1)
|
||||
/* nscd not running or wrong version or hosts caching disabled. */
|
||||
__nss_not_use_nscd_group = 1;
|
||||
{
|
||||
/* nscd not running or wrong version or hosts caching disabled. */
|
||||
__nss_not_use_nscd_group = 1;
|
||||
goto out;
|
||||
}
|
||||
|
||||
initgr_resp = &initgr_resp_mem;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user