summaryrefslogtreecommitdiffstats
path: root/src/providers/krb5/krb5_auth.c
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-09-19 16:32:23 -0400
committerJakub Hrozek <jhrozek@redhat.com>2013-09-25 14:08:53 +0200
commitb5020bc839a8260b0148b0b5ba07b82cf88d654b (patch)
treedb940543110ddda8c1b057956b629631a2b5f48e /src/providers/krb5/krb5_auth.c
parenta0b107df0cd7ba16713038bc3f705222f90798ca (diff)
downloadsssd-b5020bc839a8260b0148b0b5ba07b82cf88d654b.tar.gz
sssd-b5020bc839a8260b0148b0b5ba07b82cf88d654b.tar.xz
sssd-b5020bc839a8260b0148b0b5ba07b82cf88d654b.zip
krb5: Be more lenient on failures for old ccache
Fix a check for an error return code that can be returned when the ccache is not found. Even in case of other errors still do not fail authentication but allow it to proceed using a new ccache file if necessary. Related: https://fedorahosted.org/sssd/ticket/2053
Diffstat (limited to 'src/providers/krb5/krb5_auth.c')
-rw-r--r--src/providers/krb5/krb5_auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/krb5/krb5_auth.c b/src/providers/krb5/krb5_auth.c
index b373cb4c3..52e230ca9 100644
--- a/src/providers/krb5/krb5_auth.c
+++ b/src/providers/krb5/krb5_auth.c
@@ -608,7 +608,7 @@ struct tevent_req *krb5_auth_send(TALLOC_CTX *mem_ctx,
} else if (ret != EOK) {
DEBUG(SSSDBG_CRIT_FAILURE,
("check_if_ccache_file_is_used failed.\n"));
- goto done;
+ ccache_file = NULL;
}
} else {
kr->active_ccache = false;