1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/nsswitch
Björn Jacke d3e51b9cfe nss_winbind: fix hang on Solaris on big groups
The problem with large groups on Solaris in the the NSS winbind module is
Solaris wants the return value to be NSS_UNAVAIL if the buffer given is too
small for getgrnam_r.  The current code return NSS_TRYAGAIN which causes
Solaris/Illumos to loop without trying to resize the buffer.

Thanks to  Nathan Huff <nhuff@acm.org> for finding this out.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=10365

Signed-off-by: Bjoern Jacke <bj@sernet.de>
Reviewed-by: Ralph Böhme <rb@sernet.de>
2015-09-11 00:34:30 +02:00
..
libwbclient Update libwbclient version to 0.12 2015-03-10 03:24:45 +01:00
tests nsswitch: Extend idmap_rfc2307 testcase for reverse lookup 2015-06-05 01:24:32 +02:00
nsstest.c Fix bug 10025 - Lack of Sanity Checking in calls to malloc()/calloc(). 2013-07-17 16:12:19 -07:00
nsstest.h nsstest: Relicense header file to LGPLv3+ 2009-06-04 20:15:31 +02:00
pam_winbind.c pam_winbind: Fix a segfault if initialization fails 2015-09-08 21:39:21 +02:00
pam_winbind.h Replace all uses of iniparser with tiniparser. 2014-08-14 21:27:13 +02:00
wb_common.c winbind client: avoid vicious cycle created by client retry 2015-07-15 22:41:13 +02:00
wb_reqtrans.c nsswitch: make wb_reqtrans a common subsystem. 2011-02-17 00:52:42 +01:00
wb_reqtrans.h nsswitch: make wb_reqtrans a common subsystem. 2011-02-17 00:52:42 +01:00
wbinfo.c wbinfo: Dump user info for pam-logon -v 2015-06-11 01:45:21 +02:00
winbind_client.h Make winbind client library thread-safe by adding context 2015-03-10 00:50:09 +01:00
winbind_krb5_locator.c krb5_locator: Slightly simplify code 2014-02-20 11:43:08 -08:00
winbind_nss_aix.c Use global context for winbindd_request_response 2015-03-10 00:50:09 +01:00
winbind_nss_config.h Remove special socket_wrapper code. 2014-04-17 14:56:06 +02:00
winbind_nss_freebsd.c nss_winbind: add getgroupmembership for FreeBSD 2014-10-20 12:20:04 +02:00
winbind_nss_hpux.h s3: readd h_errno struct member but rename it 2010-06-10 23:22:49 +02:00
winbind_nss_irix.c nsswitch: Move source3 files to top level dir. 2008-12-16 13:02:45 +01:00
winbind_nss_irix.h nsswitch: Move source3 files to top level dir. 2008-12-16 13:02:45 +01:00
winbind_nss_linux.c Use global context for winbindd_request_response 2015-03-10 00:50:09 +01:00
winbind_nss_linux.h nsswitch: Move source3 files to top level dir. 2008-12-16 13:02:45 +01:00
winbind_nss_netbsd.c Use global context for winbindd_request_response 2015-03-10 00:50:09 +01:00
winbind_nss_netbsd.h nsswitch: Move source3 files to top level dir. 2008-12-16 13:02:45 +01:00
winbind_nss_solaris.c nss_winbind: fix hang on Solaris on big groups 2015-09-11 00:34:30 +02:00
winbind_nss_solaris.h s3-nsswitch: Fix warnings on Solaris. 2012-02-06 18:28:53 +01:00
winbind_nss.h nsswitch: Move source3 files to top level dir. 2008-12-16 13:02:45 +01:00
winbind_struct_protocol.h selftest: Rename WINBINDD_SOCKET_DIR environment variable. 2014-04-17 14:56:06 +02:00
wins_freebsd.c nss_wins: add module for FreeBSD 2015-09-11 00:34:30 +02:00
wins.c nsswitch/wins: use lp_load_global() wrapper of lp_load(). 2015-04-22 13:57:29 +02:00
wscript_build nss_wins: add module for FreeBSD 2015-09-11 00:34:30 +02:00
wscript_configure nsswitch: Add waf tests for solaris special cases 2012-09-26 11:50:10 +02:00