summaryrefslogtreecommitdiff
path: root/source3/selftest
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-03-28 20:42:55 +1100
committerAndrew Bartlett <abartlet@samba.org>2011-03-29 00:00:23 +0200
commitc8bc7089f589e33a624183ae63c1cb1b3d652c7c (patch)
tree552e11e1cecec4fd896bea4ed1ffe81b2bf704d7 /source3/selftest
parent2839391c7deac3436046807e4238bb9e5802530b (diff)
downloadsamba-c8bc7089f589e33a624183ae63c1cb1b3d652c7c.tar.gz
samba-c8bc7089f589e33a624183ae63c1cb1b3d652c7c.tar.bz2
samba-c8bc7089f589e33a624183ae63c1cb1b3d652c7c.zip
s3-selftest Add tests for security=server
Andrew Bartlett
Diffstat (limited to 'source3/selftest')
-rwxr-xr-xsource3/selftest/tests.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/source3/selftest/tests.py b/source3/selftest/tests.py
index 4094a573bc..d3749892f2 100755
--- a/source3/selftest/tests.py
+++ b/source3/selftest/tests.py
@@ -96,11 +96,14 @@ plantestsuite("samba3.ntlm_auth.(dc:local)", "dc:local", [os.path.join(samba3src
for env in ["dc", "member"]:
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', configuration])
+for env in ["secserver"]:
+ 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', configuration + " --option=clientntlmv2auth=no"])
+
for env in ["member"]:
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', configuration])
-for env in ["secshare"]:
- plantestsuite("samba3.blackbox.smbclient_auth.plain (%s)" % env, env, [os.path.join(samba3srcdir, "script/tests/test_smbclient_auth.sh"), '$SERVER', '$SERVER_IP', '$USERNAME', '$PASSWORD', configuration])
+for env in ["secshare", "secserver"]:
+ 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', configuration])
# plain
for env in ["dc"]: