diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2015-07-14 12:48:47 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2015-07-15 21:49:55 +0200 |
commit | da17e4c19e97a76ed13eaa55a488b3c1b2827749 (patch) | |
tree | e90bf0ad010d832624d33926a2bb1820fb8110e0 | |
parent | bdf32fbb3c947dd1b2c54d1c21d8028a1ddc80e6 (diff) | |
download | sssd-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.c | 2 |
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); |