diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2011-03-24 15:28:57 +0100 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2011-03-24 14:13:44 -0400 |
commit | 8a2906c0eda7b894e55b605164f09b658edfeef4 (patch) | |
tree | f9714d1e16b109fa03432a5b9339214241c2a64b /src | |
parent | 764bda08267d867a30ceb07d398dc30be1f4b699 (diff) | |
download | sssd-8a2906c0eda7b894e55b605164f09b658edfeef4.tar.gz sssd-8a2906c0eda7b894e55b605164f09b658edfeef4.tar.xz sssd-8a2906c0eda7b894e55b605164f09b658edfeef4.zip |
Return from functions in LDAP provider after marking request as failed
Diffstat (limited to 'src')
-rw-r--r-- | src/providers/ldap/sdap_async_accounts.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/providers/ldap/sdap_async_accounts.c b/src/providers/ldap/sdap_async_accounts.c index 71112b5f..96104dd6 100644 --- a/src/providers/ldap/sdap_async_accounts.c +++ b/src/providers/ldap/sdap_async_accounts.c @@ -3328,7 +3328,7 @@ static errno_t sdap_nested_group_process_step(struct tevent_req *req) ret = sdap_nested_group_lookup_user( req, sdap_nested_group_process_ldap_user); if (ret != EOK) { - tevent_req_error(req, ret); + goto error; } return EAGAIN; } @@ -3640,6 +3640,7 @@ static void sdap_group_internal_nesting_done(struct tevent_req *subreq) talloc_zfree(subreq); if (ret != EOK) { tevent_req_error(req, ret); + return; } state->member_index++; @@ -4272,6 +4273,7 @@ static void rfc2307bis_nested_groups_process(struct tevent_req *subreq) ret = rfc2307bis_nested_groups_update_sysdb(state); if (ret != EOK) { tevent_req_error(req, ret); + return; } state->group_iter++; @@ -4279,6 +4281,7 @@ static void rfc2307bis_nested_groups_process(struct tevent_req *subreq) ret = rfc2307bis_nested_groups_step(req); if (ret != EOK) { tevent_req_error(req, ret); + return; } } else { tevent_req_done(req); |