glibc/nis
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
..
nss_compat Fix multiple nss_compat initgroups() bugs 2010-11-22 11:11:24 -05:00
nss_nis Fix use of extend_alloca in NIS 2010-06-14 16:54:43 -07:00
nss_nisplus Fix a few error cases in *name4_r lookup handling. 2009-12-10 15:44:26 -08:00
rpcsvc More copyright changes. 2010-09-01 05:10:04 -07:00
Depend
libnsl.h Implement new mode for NIS passwd.adjunct.byname table. 2010-04-07 07:37:39 -07:00
Makefile
nis_add.c
nis_addmember.c
nis_call.c * nis/nis_call.c (nis_server_cache_search): Save errno around stat 2008-03-24 19:28:00 +00:00
nis_callback.c
nis_checkpoint.c
nis_clone_dir.c
nis_clone_obj.c
nis_clone_res.c
nis_creategroup.c
nis_defaults.c
nis_destroygroup.c
nis_domain_of_r.c
nis_domain_of.c * nis/nis_domain_of.c (__nis_domain_of): Make the code a bit more 2007-06-22 17:01:29 +00:00
nis_error.c
nis_error.h
nis_file.c
nis_findserv.c Remove duplicate version of pmap_getport from NIS code. 2010-09-01 04:12:55 -07:00
nis_free.c
nis_getservlist.c
nis_hash.c
nis_intern.h
nis_ismember.c
nis_local_names.c
nis_lookup.c * nis/nis_domain_of.c (__nis_domain_of): New function. 2007-04-19 14:28:01 +00:00
nis_mkdir.c
nis_modify.c
nis_ping.c
nis_print_group_entry.c
nis_print.c
nis_remove.c
nis_removemember.c
nis_rmdir.c
nis_server.c
nis_subr.c * nscd/selinux.c (preserve_capabilities): Initialize new_caps 2007-07-28 20:44:03 +00:00
nis_table.c * nis/nis_table.c (nis_list): Don't fail if __follow_path returned 2007-08-22 16:04:18 +00:00
nis_util.c
nis_verifygroup.c
nis_xdr.c * nis/nis_xdr.c (_xdr_nis_server): Work around gcc alias warning. 2007-08-26 02:06:10 +00:00
nis_xdr.h
nisplus-parser.h
nss Implement new mode for NIS passwd.adjunct.byname table. 2010-04-07 07:37:39 -07:00
nss-default.c Implement new mode for NIS passwd.adjunct.byname table. 2010-04-07 07:37:39 -07:00
nss-nis.c
nss-nis.h
nss-nisplus.c
nss-nisplus.h
Versions * include/resolv.h: Adjust __libc_res_nquery and __libc_res_nsend 2008-05-10 23:27:39 +00:00
yp_xdr.c More copyright changes. 2010-09-01 05:10:04 -07:00
ypclnt.c * include/rpc/clnt.h: Declare __libc_clntudp_bufcreate and 2008-07-25 17:06:50 +00:00
ypupdate_xdr.c More copyright changes. 2010-09-01 05:10:04 -07:00