From: Douglas Bagnall Date: Thu, 11 Aug 2022 03:18:02 +0000 (+1200) Subject: samba-tool dbcheck: improve --help for --reset-well-known-acls X-Git-Tag: talloc-2.4.0~1177 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6b1b5eade2ff32200ad4c543dfb1543d5bd897ef;p=thirdparty%2Fsamba.git 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 --- 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 "