s4:ldap.py Improve testsuite for primaryGroupToken behaviour
commitb2db28b634bceccb4c87e3f764649a5ed1f3217a
authorAndrew Bartlett <abartlet@samba.org>
Mon, 7 Dec 2009 01:44:07 +0000 (7 12:44 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 7 Dec 2009 02:08:06 +0000 (7 13:08 +1100)
treec6ca30824ba0aaf69ac7b9caa86081a2e6ff29df
parent354b80b3ae3fd918d65f6425d054630d51ee18e0
s4:ldap.py Improve testsuite for primaryGroupToken behaviour

This tries to show that the domain object should not have a
primaryGroupToken, for example.  (This passes against the old and new
code, as the failure case requires an object with an objectSid, and
exactly one group in it's subtree.  Sadly I don't know of a valid structure
that I can construct to test this).

Andrew Bartlett
source4/lib/ldb/tests/python/ldap.py