summaryrefslogtreecommitdiff
path: root/python/samba/netcmd/dbcheck.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/samba/netcmd/dbcheck.py')
-rw-r--r--python/samba/netcmd/dbcheck.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/python/samba/netcmd/dbcheck.py b/python/samba/netcmd/dbcheck.py
index 2217366cc8d..efc25c2b33a 100644
--- a/python/samba/netcmd/dbcheck.py
+++ b/python/samba/netcmd/dbcheck.py
@@ -74,13 +74,18 @@ class cmd_dbcheck(Command):
Option("--reset-well-known-acls", dest="reset_well_known_acls", default=False, action="store_true", help="reset ACLs on objects with well known default ACL values to the default"),
Option("-H", "--URL", help="LDB URL for database or target server (defaults to local SAM database)",
type=str, metavar="URL", dest="H"),
- ]
+ Option("--selftest-check-expired-tombstones",
+ dest="selftest_check_expired_tombstones", default=False, action="store_true",
+ help=Option.SUPPRESS_HELP), # This is only used by tests
+ ]
def run(self, DN=None, H=None, verbose=False, fix=False, yes=False,
cross_ncs=False, quiet=False,
scope="SUB", credopts=None, sambaopts=None, versionopts=None,
attrs=None, reindex=False, force_modules=False,
- reset_well_known_acls=False, yes_rules=[]):
+ reset_well_known_acls=False,
+ selftest_check_expired_tombstones=False,
+ yes_rules=[]):
lp = sambaopts.get_loadparm()