Trace logging
authorGreg Hudson <ghudson@mit.edu>
Mon, 7 Jun 2010 18:26:17 +0000 (18:26 +0000)
committerGreg Hudson <ghudson@mit.edu>
Mon, 7 Jun 2010 18:26:17 +0000 (18:26 +0000)
commitcaa480251ebdebbc5c9093223267cf5634493b03
tree2051e723ec1974f7510b09cf69a0eaf90b817e15
parent91c7788e903744318a70982f50b69187db9a9914
Trace logging

Add trace logging infrastructure code, enabled by the KRB5_TRACE
environment variable or the API functions krb5_set_trace_callback()
or krb5_set_trace_filename().  As a start, add tracing events for:
  * AS-REQ client code, including FAST and preauth
  * TGS-REQ client code
  * AP-REQ and AP-REP code (client and server)
  * sendto_kdc
  * Selected ccache operations
  * Selected keytab operations

ticket: 6737

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24118 dc483132-0cff-0310-8789-dd5450dbe970
24 files changed:
src/include/cm.h
src/include/k5-int.h
src/include/k5-trace.h [new file with mode: 0644]
src/include/krb5/krb5.hin
src/lib/krb5/ccache/ccbase.c
src/lib/krb5/ccache/ccfns.c
src/lib/krb5/error_tables/krb5_err.et
src/lib/krb5/keytab/ktfns.c
src/lib/krb5/krb/fast.c
src/lib/krb5/krb/gc_via_tkt.c
src/lib/krb5/krb/get_creds.c
src/lib/krb5/krb/get_in_tkt.c
src/lib/krb5/krb/gic_pwd.c
src/lib/krb5/krb/init_ctx.c
src/lib/krb5/krb/mk_rep.c
src/lib/krb5/krb/mk_req_ext.c
src/lib/krb5/krb/preauth2.c
src/lib/krb5/krb/rd_rep.c
src/lib/krb5/krb/rd_req_dec.c
src/lib/krb5/krb/send_tgs.c
src/lib/krb5/libkrb5.exports
src/lib/krb5/os/Makefile.in
src/lib/krb5/os/sendto_kdc.c
src/lib/krb5/os/trace.c [new file with mode: 0644]