CVE-2022-37966 samba-tool: Fix 'domain trust create' documentation
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Mon, 21 Nov 2022 00:45:22 +0000 (13:45 +1300)
committerStefan Metzmacher <metze@samba.org>
Tue, 13 Dec 2022 23:48:48 +0000 (00:48 +0100)
This option does the opposite of what the documentation claims.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15237

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 6b155b22e6afa52ce29cc475840c1d745b0f1f5e)

python/samba/netcmd/domain.py

index a15e62acca641fe65a9840fb6ef6d0c8b5ec95d2..aaadaf93009e3d6751bc3ef68dc33436455bef39 100644 (file)
@@ -2269,7 +2269,7 @@ class cmd_domain_trust_create(DomainTrustCommand):
                dest='treat_as_external',
                default=False),
         Option("--no-aes-keys", action="store_false",
-               help="The trust uses aes kerberos keys.",
+               help="The trust does not use AES kerberos keys.",
                dest='use_aes_keys',
                default=True),
         Option("--skip-validation", action="store_false",