s3: Remove chain_reply
[Samba/id10ts.git] / source3 / selftest / tests.py
blobf0e1003048718ef8ef2be5f386b2b9383355dbc0
1 #!/usr/bin/python
2 # This script generates a list of testsuites that should be run as part of
3 # the Samba 3 test suite.
5 # The output of this script is parsed by selftest.pl, which then decides
6 # which of the tests to actually run. It will, for example, skip all tests
7 # listed in selftest/skip or only run a subset during "make quicktest".
9 # The idea is that this script outputs all of the tests of Samba 3, not
10 # just those that are known to pass, and list those that should be skipped
11 # or are known to fail in selftest/skip or selftest/samba4-knownfail. This makes it
12 # very easy to see what functionality is still missing in Samba 3 and makes
13 # it possible to run the testsuite against other servers, such as Samba 4 or
14 # Windows that have a different set of features.
16 # The syntax for a testsuite is "-- TEST --" on a single line, followed
17 # by the name of the test, the environment it needs and the command to run, all
18 # three separated by newlines. All other lines in the output are considered
19 # comments.
21 import os, sys
22 sys.path.insert(0, os.path.normpath(os.path.join(os.path.dirname(__file__), "../../selftest")))
23 from selftesthelpers import *
24 import subprocess
25 smb4torture = binpath("smbtorture4")
26 samba3srcdir = srcdir() + "/source3"
27 configuration = "--configfile=$SMB_CONF_PATH"
28 scriptdir=os.path.join(samba3srcdir, "../script/tests")
30 torture_options = [configuration, "--maximum-runtime=$SELFTEST_MAXTIME",
31 "--target=samba3", "--basedir=$SELFTEST_TMPDIR",
32 '--option="torture:winbindd_netbios_name=$SERVER"',
33 '--option="torture:winbindd_netbios_domain=$DOMAIN"',
34 '--option=torture:sharedelay=100000']
36 if not os.getenv("SELFTEST_VERBOSE"):
37 torture_options.append("--option=torture:progress=no")
38 torture_options.append("--format=subunit")
39 if os.getenv("SELFTEST_QUICK"):
40 torture_options.append("--option=torture:quick=yes")
42 smb4torture_testsuite_list = subprocess.Popen([smb4torture, "--list-suites"], stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate("")[0].splitlines()
44 smb4torture += " " + " ".join(torture_options)
46 sub = subprocess.Popen("%s --version 2> /dev/null" % smb4torture, stdout=subprocess.PIPE, stdin=subprocess.PIPE, shell=True)
47 sub.communicate("")
48 smb4torture_possible = (sub.returncode == 0)
51 def smb4torture_testsuites(prefix):
52 return filter(lambda x: x.startswith(prefix), smb4torture_testsuite_list)
54 def plansmbtorturetestsuite(name, env, options, description=''):
55 modname = "samba3.%s %s" % (name, description)
56 cmdline = "%s $LISTOPT %s %s" % (valgrindify(smb4torture), options, name)
57 if smb4torture_possible:
58 plantestsuite_loadlist(modname, env, cmdline)
61 plantestsuite("samba3.blackbox.success", "s3dc:local", [os.path.join(samba3srcdir, "script/tests/test_success.sh")])
62 plantestsuite("samba3.blackbox.failure", "s3dc:local", [os.path.join(samba3srcdir, "script/tests/test_failure.sh")])
64 plantestsuite("samba3.local_s3", "s3dc:local", [os.path.join(samba3srcdir, "script/tests/test_local_s3.sh")])
66 plantestsuite("samba3.blackbox.registry.upgrade", "s3dc:local", [os.path.join(samba3srcdir, "script/tests/test_registry_upgrade.sh"), binpath('net'), binpath('dbwrap_tool')])
68 tests=[ "FDPASS", "LOCK1", "LOCK2", "LOCK3", "LOCK4", "LOCK5", "LOCK6", "LOCK7", "LOCK9",
69 "UNLINK", "BROWSE", "ATTR", "TRANS2", "TORTURE",
70 "OPLOCK1", "OPLOCK2", "OPLOCK4", "STREAMERROR",
71 "DIR", "DIR1", "DIR-CREATETIME", "TCON", "TCONDEV", "RW1", "RW2", "RW3", "RW-SIGNING",
72 "OPEN", "XCOPY", "RENAME", "DELETE", "DELETE-LN", "PROPERTIES", "W2K",
73 "TCON2", "IOCTL", "CHKPATH", "FDSESS", "CHAIN1", "CHAIN2",
74 "CHAIN3",
75 "GETADDRINFO", "POSIX", "UID-REGRESSION-TEST", "SHORTNAME-TEST",
76 "POSIX-APPEND",
77 "CASE-INSENSITIVE-CREATE", "SMB2-BASIC", "NTTRANS-FSCTL", "SMB2-NEGPROT",
78 "CLEANUP1",
79 "CLEANUP2",
80 "BAD-NBT-SESSION"]
82 for t in tests:
83 plantestsuite("samba3.smbtorture_s3.plain(s3dc).%s" % t, "s3dc", [os.path.join(samba3srcdir, "script/tests/test_smbtorture_s3.sh"), t, '//$SERVER_IP/tmp', '$USERNAME', '$PASSWORD', binpath('smbtorture3'), "", "-l $LOCAL_PATH"])
84 plantestsuite("samba3.smbtorture_s3.crypt(s3dc).%s" % t, "s3dc", [os.path.join(samba3srcdir, "script/tests/test_smbtorture_s3.sh"), t, '//$SERVER_IP/tmp', '$USERNAME', '$PASSWORD', binpath('smbtorture3'), "-e", "-l $LOCAL_PATH"])
85 plantestsuite("samba3.smbtorture_s3.plain(dc).%s" % t, "dc", [os.path.join(samba3srcdir, "script/tests/test_smbtorture_s3.sh"), t, '//$SERVER_IP/tmp', '$USERNAME', '$PASSWORD', binpath('smbtorture3'), "", "-l $LOCAL_PATH"])
87 local_tests=[
88 "LOCAL-SUBSTITUTE",
89 "LOCAL-GENCACHE",
90 "LOCAL-TALLOC-DICT",
91 "LOCAL-BASE64",
92 "LOCAL-RBTREE",
93 "LOCAL-MEMCACHE",
94 "LOCAL-STREAM-NAME",
95 "LOCAL-WBCLIENT",
96 "LOCAL-string_to_sid",
97 "LOCAL-binary_to_sid",
98 "LOCAL-DBTRANS",
99 "LOCAL-TEVENT-SELECT",
100 "LOCAL-CONVERT-STRING",
101 "LOCAL-CONV-AUTH-INFO",
102 "LOCAL-hex_encode_buf",
103 "LOCAL-sprintf_append"]
105 for t in local_tests:
106 plantestsuite("samba3.smbtorture_s3.%s" % t, "s3dc", [os.path.join(samba3srcdir, "script/tests/test_smbtorture_s3.sh"), t, '//$SERVER_IP/tmp', '$USERNAME', '$PASSWORD', binpath('smbtorture3'), "-e"])
108 tests=["--ping", "--separator",
109 "--own-domain",
110 "--all-domains",
111 "--trusted-domains",
112 "--domain-info=BUILTIN",
113 "--domain-info=$DOMAIN",
114 "--online-status",
115 "--online-status --domain=BUILTIN",
116 "--online-status --domain=$DOMAIN",
117 "--check-secret --domain=$DOMAIN",
118 "--change-secret --domain=$DOMAIN",
119 "--check-secret --domain=$DOMAIN",
120 "--online-status --domain=$DOMAIN",
121 #Didn't pass yet# "--domain-users",
122 "--domain-groups",
123 "--name-to-sid=$DC_USERNAME",
124 "--name-to-sid=$DOMAIN\\\\$DC_USERNAME",
125 #Didn't pass yet# "--user-info=$USERNAME",
126 "--user-groups=$DOMAIN\\\\$DC_USERNAME",
127 "--allocate-uid",
128 "--allocate-gid"]
130 for options in ["--option=clientusespnego=no", " --option=clientntlmv2auth=no --option=clientlanmanauth=yes --max-protocol=LANMAN2", ""]:
131 env = "s3dc"
132 plantestsuite("samba3.blackbox.smbclient_auth.plain (%s) %s" % (env, options), env, [os.path.join(samba3srcdir, "script/tests/test_smbclient_auth.sh"), '$SERVER', '$SERVER_IP', '$DC_USERNAME', '$DC_PASSWORD', binpath('smbclient3'), configuration])
134 for env in ["s3dc", "member", "s3member"]:
135 plantestsuite("samba3.blackbox.smbclient_auth.plain (%s)" % env, env, [os.path.join(samba3srcdir, "script/tests/test_smbclient_auth.sh"), '$SERVER', '$SERVER_IP', '$DC_USERNAME', '$DC_PASSWORD', binpath('smbclient3'), configuration])
136 plantestsuite("samba3.blackbox.smbclient_auth.plain (%s) member creds" % env, env, [os.path.join(samba3srcdir, "script/tests/test_smbclient_auth.sh"), '$SERVER', '$SERVER_IP', '$SERVER\\\\$USERNAME', '$PASSWORD', binpath('smbclient3'), configuration])
138 for t in tests:
139 plantestsuite("samba3.wbinfo_s3.(%s:local).%s" % (env, t), "%s:local" % env, [os.path.join(samba3srcdir, "script/tests/test_wbinfo_s3.sh"), t])
141 plantestsuite(
142 "samba3.wbinfo_sids2xids.(%s:local)" % env, "%s:local" % env,
143 [os.path.join(samba3srcdir, "script/tests/test_wbinfo_sids2xids.sh")])
145 plantestsuite(
146 "samba3.ntlm_auth.diagnostics(%s:local)" % env, "%s:local" % env,
147 [os.path.join(samba3srcdir, "script/tests/test_ntlm_auth_diagnostics.sh"), binpath('ntlm_auth3'), '$DOMAIN', '$DC_USERNAME', '$DC_PASSWORD', configuration])
149 plantestsuite("samba3.ntlm_auth.(%s:local)" % env, "%s:local" % env, [os.path.join(samba3srcdir, "script/tests/test_ntlm_auth_s3.sh"), valgrindify(python), samba3srcdir, binpath('ntlm_auth3'), '$DOMAIN', '$DC_USERNAME', '$DC_PASSWORD', configuration])
151 plantestsuite("samba3.ntlm_auth.krb5(ktest:local) old ccache", "ktest:local", [os.path.join(samba3srcdir, "script/tests/test_ntlm_auth_krb5.sh"), valgrindify(python), samba3srcdir, binpath('ntlm_auth3'), '$PREFIX/ktest/krb5_ccache-2', '$SERVER', configuration])
153 plantestsuite("samba3.ntlm_auth.krb5(ktest:local)", "ktest:local", [os.path.join(samba3srcdir, "script/tests/test_ntlm_auth_krb5.sh"), valgrindify(python), samba3srcdir, binpath('ntlm_auth3'), '$PREFIX/ktest/krb5_ccache-3', '$SERVER', configuration])
156 for env in ["secserver"]:
157 plantestsuite("samba3.blackbox.smbclient_auth.plain (%s) domain creds" % env, env, [os.path.join(samba3srcdir, "script/tests/test_smbclient_auth.sh"), '$SERVER', '$SERVER_IP', '$DOMAIN\\\\$DC_USERNAME', '$DC_PASSWORD', binpath('smbclient3'), configuration + " --option=clientntlmv2auth=no"])
159 for env in ["maptoguest", "secshare", "secserver"]:
160 plantestsuite("samba3.blackbox.smbclient_auth.plain (%s) local creds" % env, env, [os.path.join(samba3srcdir, "script/tests/test_smbclient_auth.sh"), '$SERVER', '$SERVER_IP', '$USERNAME', '$PASSWORD', binpath('smbclient3'), configuration + " --option=clientntlmv2auth=no --option=clientlanmanauth=yes"])
162 env = "maptoguest"
163 plantestsuite("samba3.blackbox.smbclient_auth.plain (%s) bad username" % env, env, [os.path.join(samba3srcdir, "script/tests/test_smbclient_auth.sh"), '$SERVER', '$SERVER_IP', 'notmy$USERNAME', '$PASSWORD', binpath('smbclient3'), configuration + " --option=clientntlmv2auth=no --option=clientlanmanauth=yes"])
165 # plain
166 for env in ["s3dc"]:
167 plantestsuite("samba3.blackbox.smbclient_s3.plain (%s)" % env, env, [os.path.join(samba3srcdir, "script/tests/test_smbclient_s3.sh"), '$SERVER', '$SERVER_IP', '$DOMAIN', '$DC_USERNAME', '$DC_PASSWORD', '$USERID', '$LOCAL_PATH', '$PREFIX', binpath('smbclient3'), binpath('wbinfo'), configuration])
169 for env in ["member", "s3member"]:
170 plantestsuite("samba3.blackbox.smbclient_s3.plain (%s) member creds" % env, env, [os.path.join(samba3srcdir, "script/tests/test_smbclient_s3.sh"), '$SERVER', '$SERVER_IP', '$SERVER', '$SERVER\\\\$USERNAME', '$PASSWORD', '$USERID', '$LOCAL_PATH', '$PREFIX', binpath('smbclient3'), binpath('wbinfo'), configuration])
172 for env in ["s3dc"]:
173 plantestsuite("samba3.blackbox.smbclient_s3.sign (%s)" % env, env, [os.path.join(samba3srcdir, "script/tests/test_smbclient_s3.sh"), '$SERVER', '$SERVER_IP', '$DOMAIN', '$DC_USERNAME', '$DC_PASSWORD', '$USERID', '$LOCAL_PATH', '$PREFIX', binpath('smbclient3'), binpath('wbinfo'), configuration, "--signing=required"])
175 for env in ["member", "s3member"]:
176 plantestsuite("samba3.blackbox.smbclient_s3.sign (%s) member creds" % env, env, [os.path.join(samba3srcdir, "script/tests/test_smbclient_s3.sh"), '$SERVER', '$SERVER_IP', '$SERVER', '$SERVER\\\\$USERNAME', '$PASSWORD', '$USERID', '$LOCAL_PATH', '$PREFIX', binpath('smbclient3'), binpath('wbinfo'), configuration, "--signing=required"])
178 # encrypted
179 for env in ["s3dc"]:
180 plantestsuite("samba3.blackbox.smbclient_s3.crypt (%s)" % env, env, [os.path.join(samba3srcdir, "script/tests/test_smbclient_s3.sh"), '$SERVER', '$SERVER_IP', '$DOMAIN', '$USERNAME', '$PASSWORD', '$USERID', '$LOCAL_PATH', '$PREFIX', binpath('smbclient3'), binpath('wbinfo'), configuration, "-e"])
182 #TODO encrypted against member, with member creds, and with DC creds
183 plantestsuite("samba3.blackbox.net.misc", "s3dc:local", [os.path.join(samba3srcdir, "script/tests/test_net_misc.sh"),
184 scriptdir, "$SMB_CONF_PATH", binpath('net'), configuration])
185 plantestsuite("samba3.blackbox.net.local.registry", "s3dc:local", [os.path.join(samba3srcdir, "script/tests/test_net_registry.sh"),
186 scriptdir, "$SMB_CONF_PATH", binpath('net'), configuration])
187 plantestsuite("samba3.blackbox.net.rpc.registry", "s3dc", [os.path.join(samba3srcdir, "script/tests/test_net_registry.sh"),
188 scriptdir, "$SMB_CONF_PATH", binpath('net'), configuration, 'rpc'])
190 plantestsuite("samba3.blackbox.net.local.registry.roundtrip", "s3dc:local", [os.path.join(samba3srcdir, "script/tests/test_net_registry_roundtrip.sh"),
191 scriptdir, "$SMB_CONF_PATH", binpath('net'), configuration,])
192 plantestsuite("samba3.blackbox.net.rpc.registry.roundtrip", "s3dc", [os.path.join(samba3srcdir, "script/tests/test_net_registry_roundtrip.sh"),
193 scriptdir, "$SMB_CONF_PATH", binpath('net'), configuration, 'rpc'])
195 plantestsuite("samba3.blackbox.net.local.conf", "s3dc:local", [os.path.join(samba3srcdir, "script/tests/test_net_conf.sh"),
196 scriptdir, "$SMB_CONF_PATH", binpath('net'), configuration,])
197 plantestsuite("samba3.blackbox.net.rpc.conf", "s3dc", [os.path.join(samba3srcdir, "script/tests/test_net_conf.sh"),
198 scriptdir, "$SMB_CONF_PATH", binpath('net'), configuration, 'rpc'])
201 plantestsuite("samba3.blackbox.testparm", "s3dc:local", [os.path.join(samba3srcdir, "script/tests/test_testparm_s3.sh"),
202 "$LOCAL_PATH"])
204 plantestsuite(
205 "samba3.pthreadpool", "s3dc",
206 [os.path.join(samba3srcdir, "script/tests/test_pthreadpool.sh")])
208 #smbtorture4 tests
210 base = ["base.attr", "base.charset", "base.chkpath", "base.defer_open", "base.delaywrite", "base.delete",
211 "base.deny1", "base.deny2", "base.deny3", "base.denydos", "base.dir1", "base.dir2",
212 "base.disconnect", "base.fdpass", "base.lock",
213 "base.mangle", "base.negnowait", "base.ntdeny1",
214 "base.ntdeny2", "base.open", "base.openattr", "base.properties", "base.rename", "base.rw1",
215 "base.secleak", "base.tcon", "base.tcondev", "base.trans2", "base.unlink", "base.vuid",
216 "base.xcopy", "base.samba3error"]
218 raw = ["raw.acls", "raw.chkpath", "raw.close", "raw.composite", "raw.context", "raw.eas",
219 "raw.ioctl", "raw.lock", "raw.mkdir", "raw.mux", "raw.notify", "raw.open", "raw.oplock"
220 "raw.qfileinfo", "raw.qfsinfo", "raw.read", "raw.rename", "raw.search", "raw.seek",
221 "raw.sfileinfo.base", "raw.sfileinfo.bug", "raw.streams", "raw.unlink", "raw.write",
222 "raw.samba3hide", "raw.samba3badpath", "raw.sfileinfo.rename",
223 "raw.samba3caseinsensitive", "raw.samba3posixtimedlock",
224 "raw.samba3rootdirfid", "raw.sfileinfo.end-of-file",
225 "raw.bench-oplock", "raw.bench-lock", "raw.bench-open", "raw.bench-tcon",
226 "raw.samba3checkfsp", "raw.samba3closeerr", "raw.samba3oplocklogoff"]
228 smb2 = smb4torture_testsuites("smb2.")
230 rpc = ["rpc.authcontext", "rpc.samba3.bind", "rpc.samba3.srvsvc", "rpc.samba3.sharesec",
231 "rpc.samba3.spoolss", "rpc.samba3.wkssvc", "rpc.samba3.winreg",
232 "rpc.samba3.getaliasmembership-0",
233 "rpc.samba3.netlogon", "rpc.samba3.sessionkey", "rpc.samba3.getusername",
234 "rpc.svcctl", "rpc.ntsvcs", "rpc.winreg", "rpc.eventlog",
235 "rpc.spoolss.printserver", "rpc.spoolss.win", "rpc.spoolss.notify", "rpc.spoolss.printer",
236 "rpc.spoolss.driver",
237 "rpc.lsa", "rpc.lsa-getuser", "rpc.lsa.lookupsids", "rpc.lsa.lookupnames",
238 "rpc.lsa.privileges", "rpc.lsa.secrets",
239 "rpc.samr", "rpc.samr.users", "rpc.samr.users.privileges", "rpc.samr.passwords",
240 "rpc.samr.passwords.pwdlastset", "rpc.samr.large-dc", "rpc.samr.machine.auth",
241 "rpc.samr.priv",
242 "rpc.netlogon.admin",
243 "rpc.schannel", "rpc.schannel2", "rpc.bench-schannel1", "rpc.join", "rpc.bind"]
245 local = ["local.nss-wrapper", "local.ndr"]
247 winbind = ["winbind.struct", "winbind.wbclient"]
249 rap = ["rap.basic", "rap.rpc", "rap.printing", "rap.sam"]
251 unix = ["unix.info2", "unix.whoami"]
253 nbt = ["nbt.dgram" ]
255 libsmbclient = ["libsmbclient"]
257 tests= base + raw + smb2 + rpc + unix + local + winbind + rap + nbt + libsmbclient
259 for t in tests:
260 if t == "base.delaywrite":
261 plansmbtorturetestsuite(t, "s3dc", '//$SERVER_IP/tmp -U$USERNAME%$PASSWORD --maximum-runtime=900')
262 elif t == "rap.sam":
263 plansmbtorturetestsuite(t, "s3dc", '//$SERVER_IP/tmp -U$USERNAME%$PASSWORD --option=doscharset=ISO-8859-1')
264 elif t == "unix.whoami":
265 plansmbtorturetestsuite(t, "s3dc", '//$SERVER_IP/tmpguest -U$USERNAME%$PASSWORD')
266 elif t == "raw.samba3posixtimedlock":
267 plansmbtorturetestsuite(t, "s3dc", '//$SERVER_IP/tmpguest -U$USERNAME%$PASSWORD --option=torture:localdir=$SELFTEST_PREFIX/s3dc/share')
268 elif t == "raw.chkpath":
269 plansmbtorturetestsuite(t, "s3dc", '//$SERVER_IP/tmpcase -U$USERNAME%$PASSWORD')
270 else:
271 plansmbtorturetestsuite(t, "s3dc", '//$SERVER_IP/tmp -U$USERNAME%$PASSWORD')
274 test = 'rpc.lsa.lookupsids'
275 auth_options = ["", "ntlm", "spnego", "spnego,ntlm" ]
276 signseal_options = ["", ",connect", ",sign", ",seal"]
277 endianness_options = ["", ",bigendian"]
278 for s in signseal_options:
279 for e in endianness_options:
280 for a in auth_options:
281 binding_string = "ncacn_np:$SERVER[%s%s%s]" % (a, s, e)
282 options = binding_string + " -U$USERNAME%$PASSWORD"
283 plansmbtorturetestsuite(test, "s3dc", options, 'over ncacn_np with [%s%s%s] ' % (a, s, e))
284 plantestsuite("samba3.blackbox.rpcclient over ncacn_np with [%s%s%s] " % (a, s, e), "s3dc:local", [os.path.join(samba3srcdir, "script/tests/test_rpcclient.sh"),
285 "none", options, configuration])
287 # We should try more combinations in future, but this is all
288 # the pre-calculated credentials cache supports at the moment
289 e = ""
290 a = ""
291 binding_string = "ncacn_np:$SERVER[%s%s%s]" % (a, s, e)
292 options = binding_string + " -k yes --krb5-ccache=$PREFIX/ktest/krb5_ccache-2"
293 plansmbtorturetestsuite(test, "ktest", options, 'krb5 with old ccache ncacn_np with [%s%s%s] ' % (a, s, e))
295 options = binding_string + " -k yes --krb5-ccache=$PREFIX/ktest/krb5_ccache-3"
296 plansmbtorturetestsuite(test, "ktest", options, 'krb5 ncacn_np with [%s%s%s] ' % (a, s, e))
298 auth_options2 = ["krb5", "spnego,krb5"]
299 for a in auth_options2:
300 binding_string = "ncacn_np:$SERVER[%s%s%s]" % (a, s, e)
302 plantestsuite("samba3.blackbox.rpcclient krb5 ncacn_np with [%s%s%s] " % (a, s, e), "ktest:local", [os.path.join(samba3srcdir, "script/tests/test_rpcclient.sh"),
303 "$PREFIX/ktest/krb5_ccache-3", binding_string, "-k", configuration])
306 options_list = ["", "-e"]
307 for options in options_list:
308 plantestsuite("samba3.blackbox.smbclient_krb5 old ccache %s" % options, "ktest:local",
309 [os.path.join(samba3srcdir, "script/tests/test_smbclient_krb5.sh"),
310 "$PREFIX/ktest/krb5_ccache-2",
311 binpath('smbclient3'), "$SERVER", options, configuration])
313 plantestsuite("samba3.blackbox.smbclient_krb5 old ccache %s" % options, "ktest:local",
314 [os.path.join(samba3srcdir, "script/tests/test_smbclient_krb5.sh"),
315 "$PREFIX/ktest/krb5_ccache-2",
316 binpath('smbclient3'), "$SERVER", options, configuration])
318 plantestsuite("samba3.blackbox.smbclient_large_file %s" % options, "ktest:local",
319 [os.path.join(samba3srcdir, "script/tests/test_smbclient_posix_large.sh"),
320 "$PREFIX/ktest/krb5_ccache-3",
321 binpath('smbclient3'), "$SERVER", "$PREFIX", options, "-k " + configuration])
323 plantestsuite("samba3.blackbox.smbclient_posix_large %s krb5" % options, "ktest:local",
324 [os.path.join(samba3srcdir, "script/tests/test_smbclient_posix_large.sh"),
325 "$PREFIX/ktest/krb5_ccache-3",
326 binpath('smbclient3'), "$SERVER", "$PREFIX", options, "-k " + configuration])
328 plantestsuite("samba3.blackbox.smbclient_posix_large %s NTLM" % options, "s3dc:local",
329 [os.path.join(samba3srcdir, "script/tests/test_smbclient_posix_large.sh"),
330 "none",
331 binpath('smbclient3'), "$SERVER", "$PREFIX", options, "-U$USERNAME%$PASSWORD " + configuration])
333 for e in endianness_options:
334 for a in auth_options:
335 for s in signseal_options:
336 binding_string = "ncacn_ip_tcp:$SERVER_IP[%s%s%s]" % (a, s, e)
337 options = binding_string + " -U$USERNAME%$PASSWORD"
338 plansmbtorturetestsuite(test, "s3dc", options, 'over ncacn_ip_tcp with [%s%s%s] ' % (a, s, e))
340 test = 'rpc.epmapper'
341 env = 's3dc:local'
342 binding_string = 'ncalrpc:'
343 options = binding_string + " -U$USERNAME%$PASSWORD"
345 plansmbtorturetestsuite(test, env, options, 'over ncalrpc')