diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2013-08-18 20:26:59 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-08-19 15:17:23 +0200 |
commit | c235f67280a84a5248457c110500fa3f0e11f755 (patch) | |
tree | 74b83e703a5c28a2e8aea728d5a72f1091a61713 /src | |
parent | 50e694bddc95b3137b29fa872af4f679feb96964 (diff) | |
download | sssd-c235f67280a84a5248457c110500fa3f0e11f755.tar.gz sssd-c235f67280a84a5248457c110500fa3f0e11f755.tar.bz2 sssd-c235f67280a84a5248457c110500fa3f0e11f755.zip |
KRB5: Do not log to syslog on each login
Diffstat (limited to 'src')
-rw-r--r-- | src/providers/krb5/krb5_child.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/providers/krb5/krb5_child.c b/src/providers/krb5/krb5_child.c index 2516e466..4ba0f366 100644 --- a/src/providers/krb5/krb5_child.c +++ b/src/providers/krb5/krb5_child.c @@ -1235,7 +1235,9 @@ done: static errno_t map_krb5_error(krb5_error_code kerr) { - KRB5_CHILD_DEBUG(SSSDBG_CRIT_FAILURE, kerr); + if (kerr != 0) { + KRB5_CHILD_DEBUG(SSSDBG_CRIT_FAILURE, kerr); + } switch (kerr) { case 0: |