This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: initgroups
- From: Thorsten Kukuk <kukuk at suse dot de>
- To: Jean-Eric Cuendet <jean-eric dot cuendet at linkvest dot com>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Tue, 5 Nov 2002 15:00:22 +0100
- Subject: Re: initgroups
- Organization: SuSE Linux AG, Nuernberg, Germany
- References: <3DC7CCC8.8080904@linkvest.com>
On Tue, Nov 05, Jean-Eric Cuendet wrote:
> After a little investigation, I found that the initgroups function
> doesn't use nscd! That's the problem of our problem.
> Is it real? Normal? Is there a workaround for that?
Yes, this is normal. The way initgroups works prevents it
from using nscd for this.
But there is a initgroups_dyn function for nss modules, which
has an optimized interface for this case. Current nss_ldap modules
should support it.
Thorsten
--
Thorsten Kukuk http://www.suse.de/~kukuk/ kukuk@suse.de
SuSE Linux AG Deutschherrnstr. 15-19 D-90429 Nuernberg
--------------------------------------------------------------------
Key fingerprint = A368 676B 5E1B 3E46 CFCE 2D97 F8FD 4E23 56C6 FB4B