summaryrefslogtreecommitdiff
path: root/source3/selftest
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-03-11 13:00:01 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-03-15 09:29:02 +1100
commit8b10d6848f49f709a3a281857b46e2b9468b0ff6 (patch)
treedb0b80a984c241a0a5ac62bdf5aa92d9abcf0619 /source3/selftest
parent3a23c66357afef0743692273b86da0a2d7704454 (diff)
downloadsamba-8b10d6848f49f709a3a281857b46e2b9468b0ff6.tar.gz
samba-8b10d6848f49f709a3a281857b46e2b9468b0ff6.tar.bz2
samba-8b10d6848f49f709a3a281857b46e2b9468b0ff6.zip
selftest: test wbinfo --authenticate and --krb5auth
Diffstat (limited to 'source3/selftest')
-rwxr-xr-xsource3/selftest/tests.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/selftest/tests.py b/source3/selftest/tests.py
index ad3e67b59e..8bd16e0efd 100755
--- a/source3/selftest/tests.py
+++ b/source3/selftest/tests.py
@@ -124,6 +124,7 @@ tests=["--ping", "--separator",
"--name-to-sid=$DOMAIN\\\\$DC_USERNAME",
#Didn't pass yet# "--user-info=$USERNAME",
"--user-groups=$DOMAIN\\\\$DC_USERNAME",
+ "--authenticate=$DOMAIN\\\\$DC_USERNAME%$DC_PASSWORD",
"--allocate-uid",
"--allocate-gid"]
@@ -148,6 +149,10 @@ for env in ["s3dc", "member", "s3member"]:
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])
+env = "s3member"
+t = "--krb5auth=$DOMAIN\\\\$DC_USERNAME%$DC_PASSWORD"
+plantestsuite("samba3.wbinfo_s3.(%s:local).%s" % (env, t), "%s:local" % env, [os.path.join(samba3srcdir, "script/tests/test_wbinfo_s3.sh"), t])
+
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])
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])