summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/sdap_async_connection.c
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2010-09-02 16:11:10 -0400
committerStephen Gallagher <sgallagh@redhat.com>2010-10-13 09:49:37 -0400
commit64783bdc0aff447a356c5169c027dadc05dfb312 (patch)
treeb3d24832dcdee042f0b0fc50bc07610789b05641 /src/providers/ldap/sdap_async_connection.c
parent80df25198ad743b0b927bafc9c27227db860578a (diff)
downloadsssd-64783bdc0aff447a356c5169c027dadc05dfb312.tar.gz
sssd-64783bdc0aff447a356c5169c027dadc05dfb312.tar.xz
sssd-64783bdc0aff447a356c5169c027dadc05dfb312.zip
Make ldap_child report kerberos return code to parent
Diffstat (limited to 'src/providers/ldap/sdap_async_connection.c')
-rw-r--r--src/providers/ldap/sdap_async_connection.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/providers/ldap/sdap_async_connection.c b/src/providers/ldap/sdap_async_connection.c
index c7acc2d97..3c536a474 100644
--- a/src/providers/ldap/sdap_async_connection.c
+++ b/src/providers/ldap/sdap_async_connection.c
@@ -690,8 +690,10 @@ static void sdap_kinit_done(struct tevent_req *subreq)
int result;
char *ccname = NULL;
time_t expire_time;
+ krb5_error_code kerr;
- ret = sdap_get_tgt_recv(subreq, state, &result, &ccname, &expire_time);
+ ret = sdap_get_tgt_recv(subreq, state, &result,
+ &kerr, &ccname, &expire_time);
talloc_zfree(subreq);
if (ret != EOK) {
state->result = SDAP_AUTH_FAILED;