Ulrich Drepper 3056dcdb78 Fix multiple nss_compat initgroups() bugs
Compat initgroups() is completely broken; the code will always set
skip_initgroups_dyn to true, so initgroups() will never be actually
called, but due to the nature of the code, setgrent() won't be called
either - thus, subsequent invocations of initgroups() will not return
the NIS group list anymore.

This is a simple patch that makes sure skip_initgroups_dyn is set only
in case initgroups is not available; it also attempts to handle the
unavailability of other NSS interfaces better.

Conflicts:

	ChangeLog
2010-11-22 11:11:24 -05:00
..
2010-06-14 16:54:43 -07:00
2010-09-01 05:10:04 -07:00
2004-10-24 20:29:20 +00:00
2005-02-17 01:19:55 +00:00
2004-10-24 20:29:20 +00:00
2004-09-08 15:46:42 +00:00
2004-10-24 20:29:20 +00:00
.
2007-07-31 13:33:18 +00:00
2004-10-24 20:29:20 +00:00
2004-10-24 20:29:20 +00:00
2004-10-24 20:29:20 +00:00
2010-09-01 05:10:04 -07:00
2010-09-01 05:10:04 -07:00