summaryrefslogtreecommitdiff
path: root/source3/selftest/tests.py
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-07-22 13:00:21 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-07-29 04:24:07 +0200
commit8f13c84dcecb769e4ba85fa120d9ac4ac772223e (patch)
treece4154a1c26289ebcd132e379657b4a1fcc2cc98 /source3/selftest/tests.py
parent2b47aface434000b29aa29f4ff6348cc147ae757 (diff)
downloadsamba-8f13c84dcecb769e4ba85fa120d9ac4ac772223e.tar.gz
samba-8f13c84dcecb769e4ba85fa120d9ac4ac772223e.tar.bz2
samba-8f13c84dcecb769e4ba85fa120d9ac4ac772223e.zip
s3-selftest Add tests for 'map to guest = bad user'
Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'source3/selftest/tests.py')
-rwxr-xr-xsource3/selftest/tests.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/selftest/tests.py b/source3/selftest/tests.py
index 0b0da7f934..b6fb166fe0 100755
--- a/source3/selftest/tests.py
+++ b/source3/selftest/tests.py
@@ -108,9 +108,12 @@ for env in ["secserver"]:
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', binpath('smbclient3'), configuration])
-for env in ["secshare", "secserver"]:
+for env in ["maptoguest", "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', binpath('smbclient3'), configuration + " --option=clientntlmv2auth=no --option=clientlanmanauth=yes"])
+env = "maptoguest"
+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"])
+
# plain
for env in ["s3dc"]:
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'), configuration])