From 8c50bd085c0efe5fde354deee2c8118887aae29d Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Fri, 18 Sep 2009 12:35:34 +0200 Subject: Use syslog for logging error conditions in SSSD This is just a band-aid until ELAPI is fully functional and ready to use. --- server/providers/krb5/krb5_auth.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/providers/krb5/krb5_auth.c') diff --git a/server/providers/krb5/krb5_auth.c b/server/providers/krb5/krb5_auth.c index 03e790322..0eac91f5d 100644 --- a/server/providers/krb5/krb5_auth.c +++ b/server/providers/krb5/krb5_auth.c @@ -793,11 +793,11 @@ static void krb5_pam_handler_done(struct tevent_req *req) } break; default: - DEBUG(0, ("unsupported PAM command [%d].\n", pd->cmd)); + SYSLOG_ERROR("unsupported PAM command [%d].\n", pd->cmd); } if (password == NULL) { - DEBUG(0, ("password not available, offline auth may not work.\n")); + SYSLOG_ERROR("password not available, offline auth may not work.\n"); goto done; } -- cgit