summaryrefslogtreecommitdiff
path: root/src/providers
diff options
context:
space:
mode:
Diffstat (limited to 'src/providers')
-rw-r--r--src/providers/krb5/krb5_auth.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/providers/krb5/krb5_auth.c b/src/providers/krb5/krb5_auth.c
index ce3dea76..49dc6d2e 100644
--- a/src/providers/krb5/krb5_auth.c
+++ b/src/providers/krb5/krb5_auth.c
@@ -1182,12 +1182,12 @@ void krb5_auth_done(struct tevent_req *req)
}
krb5_ctx = get_krb5_ctx(be_req);
- if (krb5_ctx == NULL) {
+ if (krb5_ctx != NULL) {
+ check_wait_queue(krb5_ctx, pd->user);
+ } else {
DEBUG(1, ("Kerberos context not available.\n"));
}
- check_wait_queue(krb5_ctx, pd->user);
-
krb_reply(be_req, dp_err, pd->pam_status);
}