From c87a579a23b27e65ae956bc42cf0a247f2ca0baf Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Wed, 4 Apr 2012 06:33:11 -0700 Subject: Clean up log messages about keytab_name There were many places where we were printing (null) to the logs because a NULL keytab name tells libkrb5 to use its configured default instead of a particular path. This patch should clean up all uses of this to print "default" in the logs. https://fedorahosted.org/sssd/ticket/1288 --- src/util/sss_krb5.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/util/sss_krb5.h') diff --git a/src/util/sss_krb5.h b/src/util/sss_krb5.h index 52e6c5d48..50c4b696f 100644 --- a/src/util/sss_krb5.h +++ b/src/util/sss_krb5.h @@ -34,6 +34,8 @@ #include "util/util.h" +#define KEYTAB_CLEAN_NAME keytab_name ? keytab_name : "default" + const char * KRB5_CALLCONV sss_krb5_get_error_message (krb5_context, krb5_error_code); -- cgit