]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:libads: Do not print error message for a default configuration
authorPavel Filipenský <pfilipensky@samba.org>
Fri, 16 Aug 2024 14:37:32 +0000 (16:37 +0200)
committerPavel Filipensky <pfilipensky@samba.org>
Mon, 19 Aug 2024 13:21:08 +0000 (13:21 +0000)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15689

Signed-off-by: Pavel Filipenský <pfilipensky@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Pavel Filipensky <pfilipensky@samba.org>
Autobuild-Date(master): Mon Aug 19 13:21:08 UTC 2024 on atb-devel-224

source3/libads/kerberos_keytab.c

index e2fcee634b483d9ae2d91f9effd19036759f9fac..6ede567b75f450ed14595025c8f04f5e068abe0f 100644 (file)
@@ -838,8 +838,9 @@ static bool pw2kt_default_keytab_name(char *name_str, size_t name_size)
                break;
 
        default:
-               DBG_ERR("Invalid kerberos method set (%d)\n",
-                       lp_kerberos_method());
+               DBG_NOTICE("'kerberos method' is 'secrets only' but "
+                          "'sync machine password to keytab' is not set "
+                          "==> no keytab will be generated.\n");
                return false;
        }