[krbdev.mit.edu #6408] SVN Commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Wed Mar 11 18:14:26 EDT 2009


We were losing verbose error messages when logging from the KDC because
the context passed to krb5_klog_init did not match the realm-specific
context used for most library function calls.  Introduce a wrapper
function kdc_err which copies the error state from the call context
to the log context.  The wrapper function also knows the program name,
which removes the need to pass argv[0] around everywhere or make up
program names.


http://src.mit.edu/fisheye/changelog/krb5/?cs=22079
Commit By: ghudson
Revision: 22079
Changed Files:
U   trunk/src/kdc/do_tgs_req.c
U   trunk/src/kdc/kdc_preauth.c
U   trunk/src/kdc/kdc_util.h
U   trunk/src/kdc/main.c
U   trunk/src/kdc/network.c




More information about the krb5-bugs mailing list