[krbdev.mit.edu #7809] git commit

Tom Yu via RT rt-comment at krbdev.mit.edu
Wed Jan 8 22:30:36 EST 2014


Use an extended com_err hook in klist

Add an adapted version of extended_com_err_fn from kinit to klist and
use it.  In do_ccache(), rely on the ccache type to set a reasonable
message if krb5_cc_set_flags() or krb5_cc_get_principal() fails due to
a nonexistent or unreadable ccache, and don't confuse the user with
the name of the ccache operation that failed.

(cherry picked from commit ae027dd69fc80cca549c9198d10afad389f30873)

https://github.com/krb5/krb5/commit/23ffdc3b87655f12018e4de935263e0ef40cb7b8
Author: Greg Hudson <ghudson at mit.edu>
Committer: Tom Yu <tlyu at mit.edu>
Commit: 23ffdc3b87655f12018e4de935263e0ef40cb7b8
Branch: krb5-1.12
 src/clients/klist/klist.c            |   35 ++++++++++++++++-----------------
 src/tests/dejagnu/config/default.exp |    2 +-
 src/tests/gssapi/t_client_keytab.py  |    2 +-
 src/tests/t_ccache.py                |    6 ++--
 4 files changed, 22 insertions(+), 23 deletions(-)



More information about the krb5-bugs mailing list