diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-06-20 18:23:18 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-06-20 18:43:43 +0200 |
commit | bc9e12183f98225d165541448391d896faf4ab7b (patch) | |
tree | 4564b2de3c4d41a5a78709c6a80b5ff55a99303c /source3/selftest | |
parent | 06243510dc9e7c29b6a92c2dfe782763e348cebd (diff) | |
download | samba-bc9e12183f98225d165541448391d896faf4ab7b.tar.gz samba-bc9e12183f98225d165541448391d896faf4ab7b.tar.bz2 samba-bc9e12183f98225d165541448391d896faf4ab7b.zip |
s4-torture: Expand whoami test to confirm the user token.
This uses the tokenGroups attribute on LDAP and the posix whoami call
to confirm that user token matches between LDAP and CIFS.
I have a seperate patch for the anonymous case, because this isn't
consistent at this stage, and we need to study and fix that.
Andrew Bartlett
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Jun 20 18:43:43 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/selftest')
-rwxr-xr-x | source3/selftest/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/selftest/tests.py b/source3/selftest/tests.py index 0d3bf04dd1..11056b9c8a 100755 --- a/source3/selftest/tests.py +++ b/source3/selftest/tests.py @@ -304,7 +304,7 @@ for t in tests: plansmbtorturetestsuite(t, "plugin_s4_dc", '//$SERVER_IP/tmp -U$USERNAME%$PASSWORD --option=doscharset=ISO-8859-1') elif t == "unix.whoami": plansmbtorturetestsuite(t, "s3dc", '//$SERVER_IP/tmpguest -U$USERNAME%$PASSWORD') - plansmbtorturetestsuite(t, "plugin_s4_dc", '//$SERVER_IP/tmpguest -U$USERNAME%$PASSWORD') + plansmbtorturetestsuite(t, "plugin_s4_dc", '//$SERVER_IP/tmpguest -U$USERNAME%$PASSWORD --option=torture:addc=true') elif t == "raw.samba3posixtimedlock": plansmbtorturetestsuite(t, "s3dc", '//$SERVER_IP/tmpguest -U$USERNAME%$PASSWORD --option=torture:localdir=$SELFTEST_PREFIX/s3dc/share') plansmbtorturetestsuite(t, "plugin_s4_dc", '//$SERVER_IP/tmpguest -U$USERNAME%$PASSWORD --option=torture:localdir=$SELFTEST_PREFIX/plugin_s4_dc/share') |