]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:ads: Remove 'kerberos method' warning for 'net ads keytab' functions
authorPavel Filipenský <pfilipensky@samba.org>
Fri, 26 Jul 2024 11:15:03 +0000 (13:15 +0200)
committerPavel Filipensky <pfilipensky@samba.org>
Fri, 26 Jul 2024 17:12:36 +0000 (17:12 +0000)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=6750

Signed-off-by: Pavel Filipenský <pfilipensky@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/utils/net_ads.c

index 5adb0a7a6be262d2bb55f46d2ae5db5cad8ca539..4e28ea3678c7a3c040e3e00434406fd96ff36bfc 100644 (file)
@@ -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);
 }