summaryrefslogtreecommitdiffstats
path: root/src/providers/krb5
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2012-01-30 11:54:41 -0500
committerStephen Gallagher <sgallagh@redhat.com>2012-01-31 09:37:53 -0500
commit85d8b2567730b236578a1aaeb0139c38dda23304 (patch)
tree8bc737287348e31c3c2d606da3ed4b7ecbda6229 /src/providers/krb5
parent3bfcc41589b0b7c09f8ebba1c835f9944d85ceb9 (diff)
downloadsssd_unused-85d8b2567730b236578a1aaeb0139c38dda23304.tar.gz
sssd_unused-85d8b2567730b236578a1aaeb0139c38dda23304.tar.xz
sssd_unused-85d8b2567730b236578a1aaeb0139c38dda23304.zip
KRB5: Add syslog messages for Kerberos failures
https://fedorahosted.org/sssd/ticket/1137
Diffstat (limited to 'src/providers/krb5')
-rw-r--r--src/providers/krb5/krb5_child.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/providers/krb5/krb5_child.c b/src/providers/krb5/krb5_child.c
index c83179b4..cc185260 100644
--- a/src/providers/krb5/krb5_child.c
+++ b/src/providers/krb5/krb5_child.c
@@ -103,6 +103,7 @@ static const char *__krb5_error_msg;
#define KRB5_DEBUG(level, krb5_error) do { \
__krb5_error_msg = sss_krb5_get_error_message(krb5_error_ctx, krb5_error); \
DEBUG(level, ("%d: [%d][%s]\n", __LINE__, krb5_error, __krb5_error_msg)); \
+ sss_log(SSS_LOG_ERR, "%s", __krb5_error_msg); \
sss_krb5_free_error_message(krb5_error_ctx, __krb5_error_msg); \
} while(0)