dbcheck: skip reverse member link checks when cli option specified
authorJoe Guo <joeg@catalyst.net.nz>
Thu, 3 Jan 2019 02:55:16 +0000 (15:55 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 21 Feb 2019 03:09:19 +0000 (04:09 +0100)
commitfa8a8483651b4c5a4c337d23714f16d47e7d6ad0
treef40019f6332f3f3e9da0b3b7c53d18d8def43542
parent5f9a5ef262b4700b47bfb931b6b096f56aa56b15
dbcheck: skip reverse member link checks when cli option specified

currently dbcheck cmd tooks about 1 day to finish on a 100k user database.
We can skip member reverse link checks to speed it up dramatically.
A new cli option is added to enable the skipping.

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/dbchecker.py
python/samba/netcmd/dbcheck.py