diff options
author | Andreas Schneider <asn@samba.org> | 2019-03-21 12:06:58 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2019-03-22 14:03:19 +0000 |
commit | 4a526ec470df4b983745939fe86927a9ea66778c (patch) | |
tree | 5d0b3f7bd7f191e7eb73bfaf495594a27d193cbe /selftest/selftest.pl | |
parent | 55b217288b9763fe6a23ce519d4a106cc7dcf662 (diff) | |
download | samba-4a526ec470df4b983745939fe86927a9ea66778c.tar.gz |
selftest: Increase nss_wrapper max host entries handling
The logs are spammed with:
nwrap_ed_inventarize_add_new: Hash table is full (Cannot allocate memory)!
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'selftest/selftest.pl')
-rwxr-xr-x | selftest/selftest.pl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/selftest/selftest.pl b/selftest/selftest.pl index 919a9d50177..52109e99b6f 100755 --- a/selftest/selftest.pl +++ b/selftest/selftest.pl @@ -430,6 +430,9 @@ print "LD_PRELOAD=$ENV{LD_PRELOAD}\n"; # Enable uid_wrapper globally $ENV{UID_WRAPPER} = 1; +# We are already hitting the limit, so double it. +$ENV{NSS_WRAPPER_MAX_HOSTENTS} = 200; + # Disable RTLD_DEEPBIND hack for Samba bind dlz module # # This is needed in order to allow the ldb_*ldap module |