From 51f38ac7f3df4b3de9106b9b4861417ff317b14b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pavel=20Filipensk=C3=BD?= Date: Fri, 31 Jan 2025 12:17:28 +0100 Subject: [PATCH] s3:utils: Fix 'Usage:' for 'net ads enctypes' MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Pavel Filipenský Reviewed-by: Andreas Schneider Autobuild-User(master): Pavel Filipensky Autobuild-Date(master): Tue Feb 4 09:35:58 UTC 2025 on atb-devel-224 --- source3/utils/net_ads.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/source3/utils/net_ads.c b/source3/utils/net_ads.c index d01489b02ff..0f1193d7ec0 100644 --- a/source3/utils/net_ads.c +++ b/source3/utils/net_ads.c @@ -3561,7 +3561,7 @@ static int net_ads_enctypes_list(struct net_context *c, int argc, const char **a if (c->display_usage || (argc < 1)) { d_printf( "%s\n" - "net ads enctypes list\n" + "net ads enctypes list \n" " %s\n", _("Usage:"), _("List supported enctypes")); @@ -3743,7 +3743,7 @@ static int net_ads_enctypes(struct net_context *c, int argc, const char **argv) net_ads_enctypes_list, NET_TRANSPORT_ADS, N_("List the supported encryption types"), - N_("net ads enctypes list\n" + N_("net ads enctypes list \n" " List the supported encryption types") }, { @@ -3751,16 +3751,16 @@ static int net_ads_enctypes(struct net_context *c, int argc, const char **argv) net_ads_enctypes_set, NET_TRANSPORT_ADS, N_("Set the supported encryption types"), - N_("net ads enctypes set\n" + N_("net ads enctypes set [enctypes]\n" " Set the supported encryption types") }, { "delete", net_ads_enctypes_delete, NET_TRANSPORT_ADS, - N_("Delete the supported encryption types"), - N_("net ads enctypes delete\n" - " Delete the supported encryption types") + N_("Delete the msDS-SupportedEncryptionTypes attribute"), + N_("net ads enctypes delete \n" + " Delete the LDAP attribute") }, {NULL, NULL, 0, NULL, NULL} -- 2.47.3