summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-07-15 11:34:06 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-07-19 04:04:20 +0200
commit9130bbb7e5c3268cf51c8be01bea0cd64b0e1304 (patch)
treec56817d38ade94e086b65bd38373dffb2c73d2d0
parent38a47039cf05983df26ad6fed7470d83da56af3a (diff)
downloadsamba-9130bbb7e5c3268cf51c8be01bea0cd64b0e1304.tar.gz
samba-9130bbb7e5c3268cf51c8be01bea0cd64b0e1304.tar.bz2
samba-9130bbb7e5c3268cf51c8be01bea0cd64b0e1304.zip
selftest: Run unix.whomai against the machine acccount as well
This shows that the machine account got an extra SID in the token for domain users. Andrew Bartlett
-rwxr-xr-xsource3/selftest/tests.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/selftest/tests.py b/source3/selftest/tests.py
index 6f7ab32c5d..a890372883 100755
--- a/source3/selftest/tests.py
+++ b/source3/selftest/tests.py
@@ -305,6 +305,8 @@ for t in tests:
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 == "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")
for env in ["s3dc", "member"]:
plansmbtorturetestsuite(t, env, '//$SERVER/tmp -U$DC_USERNAME%$DC_PASSWORD')
plansmbtorturetestsuite(t, env, '//$SERVER/tmpguest -U%', description='anonymous connection')