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-02 11:44:29 +0100
commitb7088215501c99e40ae71d1c57e0b789bbae2c87 (patch)
tree7d5d186611caf2bcfa169de054db5b07c474e086 /src/providers/krb5
parent2bf1cbffaac3b4bc0bd736493c985ca865092805 (diff)
downloadsssd-b7088215501c99e40ae71d1c57e0b789bbae2c87.tar.gz
sssd-b7088215501c99e40ae71d1c57e0b789bbae2c87.tar.xz
sssd-b7088215501c99e40ae71d1c57e0b789bbae2c87.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 ec22665b5..5bda1cfc1 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"
@@ -2047,8 +2048,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