1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

s3-selftest: add pattern test of dcerpc binding options (using rpc.lsa.lookupsids).

Guenther

Signed-off-by: Günther Deschner <gd@samba.org>

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Mar  8 12:29:21 CET 2011 on sn-devel-104
This commit is contained in:
Günther Deschner 2011-03-05 01:28:02 +01:00
parent 12f10a9182
commit 1605563b14
2 changed files with 18 additions and 2 deletions

View File

@ -7,3 +7,4 @@ samba3.posix_s3.rpc.spoolss.printer.*addprinterex.print_test # another intermitt
samba3.posix_s3.smb2.lock.*.rw-exclusive # another intermittent failure
.*driver.add_driver_timestamps # we only can store dates, not timestamps
samba3.raw.mux.* #This test is flaky on the async lock time
.*ncacn_ip_tcp.*

View File

@ -41,8 +41,8 @@ if os.getenv("SELFTEST_QUICK"):
torture_options.append("--option=torture:quick=yes")
smb4torture += " " + " ".join(torture_options)
def plansmbtorturetestsuite(name, env, options):
modname = "samba3.posix_s3.%s" % name
def plansmbtorturetestsuite(name, env, options, description=''):
modname = "samba3.posix_s3.%s %s" % (name, description)
cmdline = "%s $LISTOPT %s %s" % (valgrindify(smb4torture), options, name)
plantestsuite_loadlist(modname, env, cmdline)
@ -194,3 +194,18 @@ if sub.returncode == 0:
if t == "raw.chkpath":
plansmbtorturetestsuite(t, "dc", '//$SERVER_IP/tmpcase -U$USERNAME%$PASSWORD')
test = 'rpc.lsa.lookupsids'
transports = ["ncacn_np", "ncacn_ip_tcp" ]
auth_options = ["ntlm", "spnego", "connect" ]
signseal_options = ["", ",sign", ",sign,seal"]
smb_options = ["", ",smb2"]
endianness_options = ["", ",bigendian"]
for t in transports:
for z in smb_options:
for e in endianness_options:
for a in auth_options:
for s in signseal_options:
binding_string = "%s:$SERVER_IP[%s%s%s%s]" % (t, a, s, z, e)
options = binding_string + " -U$USERNAME%$PASSWORD"
plansmbtorturetestsuite(test, "dc", options, 'over %s with [%s%s%s%s] ' % (t, a, s, z, e))