From 392fdbdcd41331c6fee36c2e80fa15723c3250e8 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Thu, 8 Jun 2006 20:23:17 +0000 Subject: [PATCH] Fixed by having krb5_fcc_interpret call krb5_set_error_message to incorporate the lower-level error message into the message displayed by kinit, which has already been changed to use krb5_get_error_message. For example, "kinit(v5): Credentials cache I/O operation failed (No space left on device) when initializing cache". ticket: 3438 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18091 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/ccache/cc_file.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/krb5/ccache/cc_file.c b/src/lib/krb5/ccache/cc_file.c index c4fc49bb0..8c35acd45 100644 --- a/src/lib/krb5/ccache/cc_file.c +++ b/src/lib/krb5/ccache/cc_file.c @@ -2285,6 +2285,9 @@ krb5_fcc_interpret(krb5_context context, int errnum) case ENXIO: default: retval = KRB5_CC_IO; /* XXX */ + krb5_set_error_message(context, retval, + "Credentials cache I/O operation failed (%s)", + strerror(errnum)); } return retval; } -- 2.26.2