s2 decrpc samr: Add tests for QueryDomainInfo
authorGary Lockyer <gary@catalyst.net.nz>
Wed, 13 Feb 2019 01:34:06 +0000 (14:34 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 14 Feb 2019 04:03:23 +0000 (05:03 +0100)
commitf3fd2d9457920b3da3e0ce6c1c6ee77be6849c65
treee3064d8127eeddbd771fcd6f26283678fddd602f
parent2346cef9fe83bca1e432ee78de94b956bc712a0b
s2 decrpc samr: Add tests for QueryDomainInfo

Add tests for the number of domain users, groups and aliases returned by
QueryDomainInfo.

These tests revealed that the existing code was not checking the
returned elements to ensure they were part of the domain.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/tests/dcerpc/sam.py
selftest/knownfail.d/dom_general_information [new file with mode: 0644]