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: [email protected]
 206-543-0547 FAX: 206-543-0308                 [email protected]
 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 [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to