summaryrefslogtreecommitdiffstats
path: root/src/providers/krb5
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2014-11-27 13:42:19 +0100
committerJakub Hrozek <jhrozek@redhat.com>2014-12-03 14:23:54 +0100
commit8aa6f3460bc0b1a5cf29b6958f508735b5e82999 (patch)
tree344aabf2e84bfc6210c229e131780745afc377d3 /src/providers/krb5
parent50d00230cbbc4fd960ffd2ebfced826c2e671bc2 (diff)
downloadsssd-8aa6f3460bc0b1a5cf29b6958f508735b5e82999.tar.gz
sssd-8aa6f3460bc0b1a5cf29b6958f508735b5e82999.tar.xz
sssd-8aa6f3460bc0b1a5cf29b6958f508735b5e82999.zip
krb5: do not fail if checking the old ccache failed
https://fedorahosted.org/sssd/ticket/2510 Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Diffstat (limited to 'src/providers/krb5')
-rw-r--r--src/providers/krb5/krb5_child.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/providers/krb5/krb5_child.c b/src/providers/krb5/krb5_child.c
index 94cd34e43..d828dd550 100644
--- a/src/providers/krb5/krb5_child.c
+++ b/src/providers/krb5/krb5_child.c
@@ -34,6 +34,7 @@
#include "util/user_info_msg.h"
#include "util/child_common.h"
#include "util/find_uid.h"
+#include "src/util/util_errors.h"
#include "providers/dp_backend.h"
#include "providers/krb5/krb5_auth.h"
#include "providers/krb5/krb5_utils.h"
@@ -2039,8 +2040,10 @@ static int k5c_ccache_setup(struct krb5_req *kr, uint32_t offline)
ret = k5c_check_old_ccache(kr);
if (ret != 0) {
- DEBUG(SSSDBG_OP_FAILURE, "Cannot check old ccache\n");
- return ret;
+ DEBUG(SSSDBG_CRIT_FAILURE, "Cannot check old ccache [%s]: [%d][%s]. " \
+ "Assuming old cache is invalid " \
+ "and not used.\n",
+ kr->old_ccname, ret, sss_strerror(ret));
}
/* Pre-creating the ccache must be done as root, otherwise we can't mkdir