summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2011-01-09 15:55:24 +0300
committerAndrew Bartlett <abartlet@samba.org>2011-02-14 01:48:39 +0100
commitb2e126cddc8a9f95426fa802b6d66c88629721b3 (patch)
tree840ba7cbcf3e4f83a267bcf63eeba0537b916f1f
parent7f00aa9ef7d0eceb0821782750c085cbb1e28ada (diff)
downloadsamba-b2e126cddc8a9f95426fa802b6d66c88629721b3.tar.gz
samba-b2e126cddc8a9f95426fa802b6d66c88629721b3.tar.bz2
samba-b2e126cddc8a9f95426fa802b6d66c88629721b3.zip
s4:selftest: add tests with seal and sign for backupkey
We need to specify sign and seal as the protocol operate really only on sealed protected connections, in other case we are just checking that the server returns something like unwilling to perform due to weak security. Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Feb 14 01:48:39 CET 2011 on sn-devel-104
-rwxr-xr-xsource4/selftest/tests.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/selftest/tests.py b/source4/selftest/tests.py
index aa7ee5a5e8..2dd91fb50d 100755
--- a/source4/selftest/tests.py
+++ b/source4/selftest/tests.py
@@ -311,6 +311,10 @@ for env in ["dc", "fl2000dc", "fl2003dc", "fl2008r2dc"]:
plantestsuite_loadlist("samba4.rpc.echo on %s with %s and %s" % (transport, bindoptions, echooptions), env, [smb4torture, "$LISTOPT", "%s:$SERVER[%s]" % (transport, bindoptions), echooptions, '-U$USERNAME%$PASSWORD', '-W', '$DOMAIN', 'rpc.echo'])
plansmbtorturetestsuite("net.api.become.dc", env, '$SERVER[%s] -U$USERNAME%%$PASSWORD -W $DOMAIN' % validate)
+for bindoptions in ["sign", "seal"]:
+ env = "dc"
+ plantestsuite_loadlist("samba4.rpc.backupkey with %s" % (bindoptions), env, [smb4torture, "$LISTOPT", "ncacn_np:$SERVER[%s]" % ( bindoptions), '-U$USERNAME%$PASSWORD', '-W', '$DOMAIN', 'rpc.backupkey'])
+
for transport in transports:
for bindoptions in ["sign", "seal"]:
for ntlmoptions in [