summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2015-07-14 12:48:47 +0200
committerJakub Hrozek <jhrozek@redhat.com>2015-07-15 21:49:55 +0200
commitda17e4c19e97a76ed13eaa55a488b3c1b2827749 (patch)
treee90bf0ad010d832624d33926a2bb1820fb8110e0
parentbdf32fbb3c947dd1b2c54d1c21d8028a1ddc80e6 (diff)
downloadsssd-da17e4c19e97a76ed13eaa55a488b3c1b2827749.tar.gz
sssd-da17e4c19e97a76ed13eaa55a488b3c1b2827749.tar.xz
sssd-da17e4c19e97a76ed13eaa55a488b3c1b2827749.zip
KRB5: Return right data provider error code
Resolves: https://fedorahosted.org/sssd/ticket/2719 Reviewed-by: Michal Židek <mzidek@redhat.com>
-rw-r--r--src/providers/krb5/krb5_wait_queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/krb5/krb5_wait_queue.c b/src/providers/krb5/krb5_wait_queue.c
index 126209620..b4d3f903a 100644
--- a/src/providers/krb5/krb5_wait_queue.c
+++ b/src/providers/krb5/krb5_wait_queue.c
@@ -366,7 +366,7 @@ int krb5_auth_queue_recv(struct tevent_req *req,
}
if (_dp_err) {
- *_dp_err = state->pam_status;
+ *_dp_err = state->dp_err;
}
TEVENT_REQ_RETURN_ON_ERROR(req);