summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohn Kohl <jtkohl@mit.edu>1991-02-06 15:21:38 +0000
committerJohn Kohl <jtkohl@mit.edu>1991-02-06 15:21:38 +0000
commitce46ac80ee3c54a2d46ddcca6038d663ce3e2609 (patch)
tree6ef4cc8e320c43c7b60dcf92e1cbdebcf7598313 /src
parent3a8decf869c6583d3cd4cbdf81bc2332510803cb (diff)
downloadkrb5-ce46ac80ee3c54a2d46ddcca6038d663ce3e2609.tar.gz
krb5-ce46ac80ee3c54a2d46ddcca6038d663ce3e2609.tar.xz
krb5-ce46ac80ee3c54a2d46ddcca6038d663ce3e2609.zip
syslog the errors we encounter
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1654 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
-rw-r--r--src/kdc/do_as_req.c3
-rw-r--r--src/kdc/do_tgs_req.c4
2 files changed, 7 insertions, 0 deletions
diff --git a/src/kdc/do_as_req.c b/src/kdc/do_as_req.c
index b804d6127..17b546f52 100644
--- a/src/kdc/do_as_req.c
+++ b/src/kdc/do_as_req.c
@@ -324,6 +324,9 @@ krb5_data **response;
krb5_error_code retval;
krb5_data *scratch;
+ syslog(LOG_INFO, "AS_REQ: %s while processing request",
+ error_message(error+KRB5KDC_ERR_NONE));
+
errpkt.ctime = request->nonce;
errpkt.cusec = 0;
diff --git a/src/kdc/do_tgs_req.c b/src/kdc/do_tgs_req.c
index 09045a483..f9368bacb 100644
--- a/src/kdc/do_tgs_req.c
+++ b/src/kdc/do_tgs_req.c
@@ -523,6 +523,10 @@ krb5_data **response;
krb5_error_code retval;
krb5_data *scratch;
+
+ syslog(LOG_INFO, "TGS_REQ: %s while processing request",
+ error_message(error+KRB5KDC_ERR_NONE));
+
errpkt.ctime = request->nonce;
errpkt.cusec = 0;