From 6b1b5eade2ff32200ad4c543dfb1543d5bd897ef Mon Sep 17 00:00:00 2001 From: Douglas Bagnall Date: Thu, 11 Aug 2022 15:18:02 +1200 Subject: [PATCH] samba-tool dbcheck: improve --help for --reset-well-known-acls This option is for updating from pre-4.0.4 when something went wrong with ACLs. BUG: https://bugzilla.samba.org/show_bug.cgi?id=9872 Signed-off-by: Douglas Bagnall Reviewed-by: Andrew Bartlett --- python/samba/netcmd/dbcheck.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/python/samba/netcmd/dbcheck.py b/python/samba/netcmd/dbcheck.py index f0dd85282e3..8827ee35d63 100644 --- a/python/samba/netcmd/dbcheck.py +++ b/python/samba/netcmd/dbcheck.py @@ -71,7 +71,11 @@ class cmd_dbcheck(Command): Option("--attrs", dest="attrs", default=None, help="list of attributes to check (space separated)"), Option("--reindex", dest="reindex", default=False, action="store_true", help="force database re-index"), Option("--force-modules", dest="force_modules", default=False, action="store_true", help="force loading of Samba modules and ignore the @MODULES record (for very old databases)"), - 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("--reset-well-known-acls", + dest="reset_well_known_acls", + default=False, action="store_true", + help=("reset ACLs on objects with well known default values" + " (for updating from early 4.0.x)")), Option("--quick-membership-checks", dest="quick_membership_checks", help=("Skips missing/orphaned memberOf backlinks checks, " "but speeds up dbcheck dramatically for domains with " -- 2.47.3