From: Matthieu Patou Date: Sun, 9 Jan 2011 12:55:24 +0000 (+0300) Subject: s4:selftest: add tests with seal and sign for backupkey X-Git-Tag: tevent-0.9.11~689 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b2e126cddc8a9f95426fa802b6d66c88629721b3;p=thirdparty%2Fsamba.git 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 --- diff --git a/source4/selftest/tests.py b/source4/selftest/tests.py index aa7ee5a5e88..2dd91fb50d0 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 [