From a58bf44c1ec62736fc20e0e7dedb8a1c0306380c Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 24 Aug 2012 10:01:42 +1000 Subject: 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 --- source3/selftest/tests.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source3/selftest') 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") -- cgit