summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/providers/ldap/sdap_async_initgroups.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ldap/sdap_async_initgroups.c b/src/providers/ldap/sdap_async_initgroups.c
index 1e2e6178..a4cac953 100644
--- a/src/providers/ldap/sdap_async_initgroups.c
+++ b/src/providers/ldap/sdap_async_initgroups.c
@@ -2204,7 +2204,7 @@ static void rfc2307bis_nested_groups_process(struct tevent_req *subreq)
struct sysdb_attrs *,
state->parents_count + count + 1);
if (!state->ldap_parents) {
- tevent_req_error(req, ret);
+ tevent_req_error(req, ENOMEM);
return;
}