selftest: Fix flapping samba.dsdb test
authorAndrew Bartlett <abartlet@samba.org>
Wed, 13 Dec 2017 01:46:00 +0000 (14:46 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 13 Dec 2017 03:47:37 +0000 (04:47 +0100)
commitd2b14b7578897b23570f269aeb84a81901e1d606
tree249b391985383ac94528a3b5bfbae76975201c7e
parentdfc4670640341761b346065922a62a3e755e9e58
selftest: Fix flapping samba.dsdb test

The check for the final digit in the SID was wrong, any domain SID
ending with a zero would fail the test.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
python/samba/tests/dsdb.py