dbcheck: Refactor RID Set check to use free_rid_bounds()
commit5bf75d01c792793ef60219250b7e22ea0846ab03
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Thu, 3 Jun 2021 23:32:00 +0000 (4 11:32 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 11 Jun 2021 07:41:38 +0000 (11 07:41 +0000)
tree0016ff46971a3b917ea7e27dc503a144e2bc5377
parent739d7e54e78046dc77385b882fbba38ab5e7bd60
dbcheck: Refactor RID Set check to use free_rid_bounds()

This function provides a simpler method of getting the bounds of the
range of RIDs we want to check. We also now check that the low bound is
less than the high bound for both rIDAllocationPool and
rIDPreviousAllocationPool.

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