s4-torture: Expand whoami test to confirm the user token.
authorAndrew Bartlett <abartlet@samba.org>
Wed, 20 Jun 2012 08:23:18 +0000 (18:23 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 20 Jun 2012 16:43:43 +0000 (18:43 +0200)
commitbc9e12183f98225d165541448391d896faf4ab7b
tree4564b2de3c4d41a5a78709c6a80b5ff55a99303c
parent06243510dc9e7c29b6a92c2dfe782763e348cebd
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
source3/selftest/tests.py
source4/torture/unix/whoami.c