]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
samba-tool dbcheck: improve --help for --reset-well-known-acls
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Thu, 11 Aug 2022 03:18:02 +0000 (15:18 +1200)
committerDouglas Bagnall <dbagnall@samba.org>
Tue, 6 Sep 2022 21:12:36 +0000 (21:12 +0000)
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 <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/netcmd/dbcheck.py

index f0dd85282e3eceb6663dc5709bbaf7b17f6daa46..8827ee35d63e5afadb29c9521dd8e841e1f3fcae 100644 (file)
@@ -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 "