summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/sdap_async_accounts.c
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2011-03-24 15:28:57 +0100
committerStephen Gallagher <sgallagh@redhat.com>2011-03-25 09:09:17 -0400
commit8a88d80c1ce63bb0c8f88845b2d1725b61a4caa7 (patch)
tree147b2771f34a74cf49d7417e839226c8c8021afe /src/providers/ldap/sdap_async_accounts.c
parent3bc158bf98ff5e8aee6923ce86647b5566f8ff20 (diff)
downloadsssd-8a88d80c1ce63bb0c8f88845b2d1725b61a4caa7.tar.gz
sssd-8a88d80c1ce63bb0c8f88845b2d1725b61a4caa7.tar.xz
sssd-8a88d80c1ce63bb0c8f88845b2d1725b61a4caa7.zip
Return from functions in LDAP provider after marking request as failedsssd-1.5.1-20.el6
Diffstat (limited to 'src/providers/ldap/sdap_async_accounts.c')
-rw-r--r--src/providers/ldap/sdap_async_accounts.c5
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 71112b5f8..96104dd62 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);