summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2006-11-07 04:26:45 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:25:02 -0500
commit8b91594e0936bbaedf5430406fcf8df3ea406c10 (patch)
tree3a7c249251f878969ce2e7d4e37ad3382d1d9c24
parent7556cb641915cc6587b13e13688edffdf8fd630d (diff)
downloadsamba-8b91594e0936bbaedf5430406fcf8df3ea406c10.tar.gz
samba-8b91594e0936bbaedf5430406fcf8df3ea406c10.tar.bz2
samba-8b91594e0936bbaedf5430406fcf8df3ea406c10.zip
r19603: Make it easier to control the debug level of smbd.
Ensure that we don't accept kerberos logins without a PAC (to ensure we actually produce a PAC in the KDC) Andrew Bartlett (This used to be commit 5fda92783f3d53e4a832dbbea678b5bd16f315fd)
-rwxr-xr-xsource4/script/tests/mktestsetup.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/source4/script/tests/mktestsetup.sh b/source4/script/tests/mktestsetup.sh
index 9a8c2677be..fc68e83f81 100755
--- a/source4/script/tests/mktestsetup.sh
+++ b/source4/script/tests/mktestsetup.sh
@@ -16,6 +16,10 @@ if test -z "$SHARE_BACKEND"; then
SHARE_BACKEND=classic
fi
+if test -z "$SMBD_LOGLEVEL"; then
+ SMBD_LOGLEVEL=1
+fi
+
DOMAIN=SAMBADOMAIN
USERNAME=administrator
REALM=SAMBA.EXAMPLE.COM
@@ -108,6 +112,10 @@ cat >$CONFFILE<<EOF
torture:subunitdir = $SRCDIR/bin/torture
system:anonymous = true
+#We don't want to pass our self-tests if the PAC code is wrong
+ gensec:require_pac = true
+
+ log level = $SMBD_LOGLEVEL
[tmp]
path = $TMPDIR