summaryrefslogtreecommitdiff
path: root/source3/selftest
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-03-09 12:14:10 +0100
committerGünther Deschner <gd@samba.org>2011-03-09 12:27:26 +0100
commit286530b3fe6585fad930982bb16418535572ff38 (patch)
tree70ddb3923e2378e749c3f4771a842e4d3c305792 /source3/selftest
parent05b447b26fa223777fdeeacd32892329312caad3 (diff)
downloadsamba-286530b3fe6585fad930982bb16418535572ff38.tar.gz
samba-286530b3fe6585fad930982bb16418535572ff38.tar.bz2
samba-286530b3fe6585fad930982bb16418535572ff38.zip
s3-selftest: no point in testing smb2 via ncacn_ip_tcp.
Guenther
Diffstat (limited to 'source3/selftest')
-rwxr-xr-xsource3/selftest/tests.py22
1 files changed, 13 insertions, 9 deletions
diff --git a/source3/selftest/tests.py b/source3/selftest/tests.py
index 34991a4d9a..43c27d7955 100755
--- a/source3/selftest/tests.py
+++ b/source3/selftest/tests.py
@@ -196,16 +196,20 @@ if sub.returncode == 0:
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))
+ for z in smb_options:
+ for e in endianness_options:
+ for a in auth_options:
+ for s in signseal_options:
+ binding_string = "ncacn_np:$SERVER_IP[%s%s%s%s]" % (a, s, z, e)
+ options = binding_string + " -U$USERNAME%$PASSWORD"
+ plansmbtorturetestsuite(test, "dc", options, 'over ncacn_np with [%s%s%s%s] ' % (a, s, z, e))
+ for e in endianness_options:
+ for a in auth_options:
+ for s in signseal_options:
+ binding_string = "ncacn_ip_tcp:$SERVER_IP[%s%s%s]" % (a, s, e)
+ options = binding_string + " -U$USERNAME%$PASSWORD"
+ plansmbtorturetestsuite(test, "dc", options, 'over ncacn_ip_tcp with [%s%s%s] ' % (a, s, e))