git.samba.org
/
ddiss
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55b2172
)
selftest: Increase nss_wrapper max host entries handling
author
Andreas Schneider
<asn@samba.org>
Thu, 21 Mar 2019 11:06:58 +0000
(12:06 +0100)
committer
Andreas Schneider
<asn@cryptomilk.org>
Fri, 22 Mar 2019 14:03:19 +0000
(14:03 +0000)
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>
selftest/selftest.pl
patch
|
blob
|
history
diff --git
a/selftest/selftest.pl
b/selftest/selftest.pl
index 919a9d50177c58ccae7c14375a58a79e0a0cf393..52109e99b6fd82d1519fb45fb035fae44d0a2601 100755
(executable)
--- 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