To: | krb5-bugs@mit.edu |
Subject: | krb524d should log success as well as failure |
Date: | Tue, 07 Mar 2006 15:33:24 -0500 |
From: | Roland Dowdeswell <elric@imrryr.org> |
Patch:
Index: cnv_tkt_skey.c
===================================================================
RCS file: /ms/dev/kerberos/mitkrb5/cvs-dirs/mitkrb5-1.4/mitkrb5/src/krb524/cnv_tkt_skey.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -u -r1.3 -r1.4
--- cnv_tkt_skey.c 5 Apr 2005 18:15:18 -0000 1.3
+++ cnv_tkt_skey.c 19 May 2005 18:44:58 -0000 1.4
@@ -198,6 +198,9 @@
(long) server_time, lifetime);
}
+ krb5_klog_syslog(LOG_INFO, "issuing service ticket for %s.%s@%s to "
+ "%s.%s@%s on %s", sname, sinst, srealm, pname, pinst, prealm,
+ inet_ntoa(sinp->sin_addr));
/* XXX are there V5 flags we should map to V4 equivalents? */
if (v4_skey->enctype == ENCTYPE_DES_CBC_CRC) {
--
Roland C. Dowdeswell
Index: cnv_tkt_skey.c
===================================================================
RCS file: /ms/dev/kerberos/mitkrb5/cvs-dirs/mitkrb5-1.4/mitkrb5/src/krb524/cnv_tkt_skey.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -u -r1.3 -r1.4
--- cnv_tkt_skey.c 5 Apr 2005 18:15:18 -0000 1.3
+++ cnv_tkt_skey.c 19 May 2005 18:44:58 -0000 1.4
@@ -198,6 +198,9 @@
(long) server_time, lifetime);
}
+ krb5_klog_syslog(LOG_INFO, "issuing service ticket for %s.%s@%s to "
+ "%s.%s@%s on %s", sname, sinst, srealm, pname, pinst, prealm,
+ inet_ntoa(sinp->sin_addr));
/* XXX are there V5 flags we should map to V4 equivalents? */
if (v4_skey->enctype == ENCTYPE_DES_CBC_CRC) {
--
Roland C. Dowdeswell