In my original report I had the following in nsswitch.conf:

group:    compat

If I change this to:

group:    compat nis

then both calls to getgrouplist in my sample program return the correct number of groups whether nscd is running or not. I have also noticed that with group set just to "compat" with nscd turned on, that sometime nscd loses the NIS groups and just reports the local groups. I have to stop nscd, delete the cache files in /var/cache/nscd, and start nscd again to fix this.

--
 Dr. Harry Edmon                        E-MAIL: ha...@uw.edu
 206-543-0547 FAX: 206-543-0308                 ha...@atmos.washington.edu
 Director of IT, College of the Environment and
 Director of Computing, Dept of Atmospheric Sciences
 University of Washington, Box 351640, Seattle, WA 98195-1640




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to