diff options
author | Björn Jacke <bj@sernet.de> | 2015-09-10 14:35:32 +0200 |
---|---|---|
committer | Bjoern Jacke <bj@sernet.de> | 2015-09-11 00:34:30 +0200 |
commit | d3e51b9cfe3d56530253571e020af72da1877044 (patch) | |
tree | 4a3beaa59e4a21cdf194f11b015487b9e668d57b /wscript | |
parent | a997c7780e69117bcc18b43834275d9bb332c4ad (diff) | |
download | samba-d3e51b9cfe3d56530253571e020af72da1877044.tar.gz |
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>
Diffstat (limited to 'wscript')
0 files changed, 0 insertions, 0 deletions