From: Pavel Filipenský Date: Fri, 26 Jul 2024 11:15:03 +0000 (+0200) Subject: s3:ads: Remove 'kerberos method' warning for 'net ads keytab' functions X-Git-Tag: tdb-1.4.11~30 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7c65aa8c7bc1cd3e0da1621c24ccfeaa0c4d4a53;p=thirdparty%2Fsamba.git s3:ads: Remove 'kerberos method' warning for 'net ads keytab' functions BUG: https://bugzilla.samba.org/show_bug.cgi?id=6750 Signed-off-by: Pavel Filipenský Reviewed-by: Stefan Metzmacher --- diff --git a/source3/utils/net_ads.c b/source3/utils/net_ads.c index 5adb0a7a6be..4e28ea3678c 100644 --- a/source3/utils/net_ads.c +++ b/source3/utils/net_ads.c @@ -3141,11 +3141,6 @@ int net_ads_keytab(struct net_context *c, int argc, const char **argv) {NULL, NULL, 0, NULL, NULL} }; - if (!USE_KERBEROS_KEYTAB) { - d_printf(_("\nWarning: \"kerberos method\" must be set to a " - "keytab method to use keytab functions.\n")); - } - return net_run_function(c, argc, argv, "net ads keytab", func); }