From e2fde13b01392410199b69be1b71c959e86b8e47 Mon Sep 17 00:00:00 2001
From: Joseph Sutton <josephsutton@catalyst.net.nz>
Date: Mon, 21 Nov 2022 13:45:22 +1300
Subject: [PATCH 17/54] CVE-2022-37966 samba-tool: Fix 'domain trust create'
 documentation

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)

Conflict: NA
Reference: https://attachments.samba.org/attachment.cgi?id=17695
---
 python/samba/netcmd/domain.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python/samba/netcmd/domain.py b/python/samba/netcmd/domain.py
index 2a548ed1ad4c..0051837138b2 100644
--- a/python/samba/netcmd/domain.py
+++ b/python/samba/netcmd/domain.py
@@ -2303,7 +2303,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",
-- 
2.34.1
