summaryrefslogtreecommitdiff
path: root/src/providers
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2013-09-25 22:59:49 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-09-26 14:03:31 +0200
commit6a848dd05e43b3f8ae964d1417dbc4036ddec53b (patch)
treebb73b1aaaae03338f4c971bea884377f5b0fe502 /src/providers
parente33d1454676021db27fd1f1d52bb3d79c7171d01 (diff)
downloadsssd-6a848dd05e43b3f8ae964d1417dbc4036ddec53b.tar.gz
sssd-6a848dd05e43b3f8ae964d1417dbc4036ddec53b.tar.bz2
sssd-6a848dd05e43b3f8ae964d1417dbc4036ddec53b.zip
KRB5: Fix bad comparison
Diffstat (limited to 'src/providers')
-rw-r--r--src/providers/krb5/krb5_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/krb5/krb5_utils.c b/src/providers/krb5/krb5_utils.c
index ba587408..e6860482 100644
--- a/src/providers/krb5/krb5_utils.c
+++ b/src/providers/krb5/krb5_utils.c
@@ -1092,7 +1092,7 @@ errno_t sss_krb5_cc_verify_ccache(const char *ccname, uid_t uid, gid_t gid,
kerr = krb5_cc_retrieve_cred(cc->context, cc->ccache,
KRB5_TC_MATCH_TIMES, &mcred, &cred);
if (kerr) {
- if (kerr == KRB5_CC_NOTFOUND || KRB5_FCC_NOFILE) {
+ if (kerr == KRB5_CC_NOTFOUND || kerr == KRB5_FCC_NOFILE) {
DEBUG(SSSDBG_TRACE_INTERNAL, ("TGT not found or expired.\n"));
ret = EINVAL;
} else {