syslog the errors we encounter
authorJohn Kohl <jtkohl@mit.edu>
Wed, 6 Feb 1991 15:21:38 +0000 (15:21 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Wed, 6 Feb 1991 15:21:38 +0000 (15:21 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1654 dc483132-0cff-0310-8789-dd5450dbe970

src/kdc/do_as_req.c
src/kdc/do_tgs_req.c

index b804d61278a4b612f7745523c226c2d1170ef567..17b546f527bde1fdcdf3cdcee31e35b6cc6eaebb 100644 (file)
@@ -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;
 
index 09045a4833e2cb9a7c6d9b46c6bacf064f2f071e..f9368bacbbfacf1cd8dbe305bb9ebe9028a5a07c 100644 (file)
@@ -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;