From b2e126cddc8a9f95426fa802b6d66c88629721b3 Mon Sep 17 00:00:00 2001 From: Matthieu Patou Date: Sun, 9 Jan 2011 15:55:24 +0300 Subject: 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 Signed-off-by: Andrew Bartlett Autobuild-User: Andrew Bartlett Autobuild-Date: Mon Feb 14 01:48:39 CET 2011 on sn-devel-104 --- source4/selftest/tests.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source4/selftest/tests.py') 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 [ -- cgit