summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.am1
-rw-r--r--src/providers/krb5/krb5_child.c7
2 files changed, 6 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index d63675dfc..b9c25f906 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2522,6 +2522,7 @@ krb5_child_SOURCES = \
src/util/signal.c \
src/util/strtonum.c \
src/util/become_user.c \
+ src/util/util_errors.c \
src/sss_client/common.c \
$(NULL)
krb5_child_CFLAGS = \
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