summaryrefslogtreecommitdiffstats
path: root/src/lib/krb5/ccache/cc_keyring.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/krb5/ccache/cc_keyring.c')
-rw-r--r--src/lib/krb5/ccache/cc_keyring.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/krb5/ccache/cc_keyring.c b/src/lib/krb5/ccache/cc_keyring.c
index 1a0f1dfcf7..a02cdf0688 100644
--- a/src/lib/krb5/ccache/cc_keyring.c
+++ b/src/lib/krb5/ccache/cc_keyring.c
@@ -1707,6 +1707,9 @@ krb5_krcc_retrieve_principal(krb5_context context, krb5_ccache id,
if (!d->cache_id || !d->princ_id) {
princ = 0L;
kret = KRB5_FCC_NOFILE;
+ krb5_set_error_message(context, kret,
+ _("Credentials cache keyring '%s' not found"),
+ d->name);
goto errout;
}