[krbdev.mit.edu #7802] git commit
Tom Yu via RT
rt-comment at krbdev.mit.edu
Wed Jan 8 22:30:38 EST 2014
Log service princ in KDC more reliably
Under some error conditions, the KDC would log "<unknown server>" for
the service principal because service principal information is not yet
available to the logging functions. Set the appropriate variables
earlier.
do_as_req.c: After unparsing the client, immediately unparse the
server before searching for the client principal in the KDB.
do_tgs_req.c: Save a pointer to the client-requested service
principal, to make sure it gets logged if an error happens before
search_sprinc() successfully completes.
[tlyu at mit.edu: commit message; fix TGS to catch more error cases]
(cherry picked from commit f37067776f9431879769f3874fdab6120ba3f155)
https://github.com/krb5/krb5/commit/2eb5cc575aa08b0b4c233c55cf378a5637717a90
Author: rbasch <probe at tardis.internal.bright-prospects.com>
Committer: Tom Yu <tlyu at mit.edu>
Commit: 2eb5cc575aa08b0b4c233c55cf378a5637717a90
Branch: krb5-1.12
src/kdc/do_as_req.c | 25 +++++++++++++------------
src/kdc/do_tgs_req.c | 5 +++++
2 files changed, 18 insertions(+), 12 deletions(-)
More information about the krb5-bugs
mailing list