summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-03-08 15:37:29 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-03-08 10:14:05 +0100
commit79753ec02c8315a55557c418f3a802fd2631878f (patch)
tree45f7b59cb9725b0209d9b7828fadf76f5abff967 /source3
parentcff40ed7f845fb263994bf615ee232cd1183507c (diff)
downloadsamba-79753ec02c8315a55557c418f3a802fd2631878f.tar.gz
samba-79753ec02c8315a55557c418f3a802fd2631878f.tar.bz2
samba-79753ec02c8315a55557c418f3a802fd2631878f.zip
selftest: add more tests for different authentication codepaths
Diffstat (limited to 'source3')
-rwxr-xr-xsource3/selftest/tests.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/selftest/tests.py b/source3/selftest/tests.py
index 591a3517b8..f0e1003048 100755
--- a/source3/selftest/tests.py
+++ b/source3/selftest/tests.py
@@ -127,6 +127,10 @@ tests=["--ping", "--separator",
"--allocate-uid",
"--allocate-gid"]
+for options in ["--option=clientusespnego=no", " --option=clientntlmv2auth=no --option=clientlanmanauth=yes --max-protocol=LANMAN2", ""]:
+ env = "s3dc"
+ 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])
+
for env in ["s3dc", "member", "s3member"]:
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])
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])