summaryrefslogtreecommitdiff
path: root/source3/selftest
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-08-24 10:01:42 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-08-29 23:46:17 +0200
commita58bf44c1ec62736fc20e0e7dedb8a1c0306380c (patch)
treeaa96793503c821e1d9135ceea9248a1c1a36d559 /source3/selftest
parentfe36bb4bcc35cccbc6f0a91a9ef4a29e908048a0 (diff)
downloadsamba-a58bf44c1ec62736fc20e0e7dedb8a1c0306380c.tar.gz
samba-a58bf44c1ec62736fc20e0e7dedb8a1c0306380c.tar.bz2
samba-a58bf44c1ec62736fc20e0e7dedb8a1c0306380c.zip
s4-torture: Add start of a test to confirm winbindd PAC parsing
So far this confirms that we can accept a ticket using the secrets.tdb entry. Andrew Bartlett
Diffstat (limited to 'source3/selftest')
-rwxr-xr-xsource3/selftest/tests.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/selftest/tests.py b/source3/selftest/tests.py
index 8b65232e73..f6b8c01de3 100755
--- a/source3/selftest/tests.py
+++ b/source3/selftest/tests.py
@@ -304,7 +304,7 @@ rpc = ["rpc.authcontext", "rpc.samba3.bind", "rpc.samba3.srvsvc", "rpc.samba3.sh
local = ["local.nss-wrapper", "local.ndr"]
-winbind = ["winbind.struct", "winbind.wbclient"]
+winbind = ["winbind.struct", "winbind.wbclient", "winbind.pac"]
rap = ["rap.basic", "rap.rpc", "rap.printing", "rap.sam"]
@@ -323,6 +323,8 @@ for t in tests:
elif t == "rap.sam":
plansmbtorturetestsuite(t, "s3dc", '//$SERVER_IP/tmp -U$USERNAME%$PASSWORD --option=doscharset=ISO-8859-1')
plansmbtorturetestsuite(t, "plugin_s4_dc", '//$SERVER_IP/tmp -U$USERNAME%$PASSWORD --option=doscharset=ISO-8859-1')
+ elif t == "winbind.pac":
+ plansmbtorturetestsuite(t, "s3member:local", '//$SERVER/tmp --realm=$REALM --machine-pass --option=torture:addc=$DC_SERVER', description="machine account")
elif t == "unix.whoami":
plansmbtorturetestsuite(t, "member:local", '//$SERVER/tmp --machine-pass', description="machine account")
plansmbtorturetestsuite(t, "s3member:local", '//$SERVER/tmp --machine-pass --option=torture:addc=$DC_SERVER', description="machine account")