lib:krb5_wrap: Improve debug message and use newer debug macro
authorSamuel Cabrero <scabrero@suse.de>
Tue, 22 Feb 2022 12:00:05 +0000 (13:00 +0100)
committerJule Anger <janger@samba.org>
Fri, 25 Feb 2022 10:31:12 +0000 (10:31 +0000)
Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit ed14513be055cc56eb39785323df2c538a813865)

lib/krb5_wrap/krb5_samba.c

index fff5b4e2a22fcd7ff57058fa615219134bf72ad7..42d4b950f8050cb50c483db0efe04b796ab8e2bf 100644 (file)
@@ -1079,7 +1079,7 @@ krb5_error_code smb_krb5_renew_ticket(const char *ccache_string,
                goto done;
        }
 
-       DEBUG(10,("smb_krb5_renew_ticket: using %s as ccache\n", ccache_string));
+       DBG_DEBUG("Using %s as ccache for '%s'\n", ccache_string, client_string);
 
        /* FIXME: we should not fall back to defaults */
        ret = krb5_cc_resolve(context, discard_const_p(char, ccache_string), &ccache);