dsdb: check for dSHeuristics more carefully
authorAndrew Bartlett <abartlet@samba.org>
Wed, 11 Apr 2018 10:47:03 +0000 (22:47 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 12 Apr 2018 03:15:16 +0000 (05:15 +0200)
commit056b2abde615aab986e43c41c297edfaf58aaea2
tree3c78dea9556e169632e954256841d12ead8a51a8
parent5c7973e9ba5671aa78525b335038b5ca8bf54aa3
dsdb: check for dSHeuristics more carefully

This check would pass if the dSHeuristics was treated as always being
000000000 for searches which is not enough, we must check for a value
of 000000001 (userPassword enabled).

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13378

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
selftest/knownfail.d/dsheuristics_userPassword [deleted file]
source4/dsdb/tests/python/passwords.py