From fc731b54cd74e6732f1e33c7cc4ed49cab0f7c90 Mon Sep 17 00:00:00 2001 From: Pavel Reichl Date: Thu, 29 May 2014 12:22:57 +0100 Subject: LDAP: fix - find primary group by gid Remove premature call of tevent_req_done() from sdap_get_initgr_done(). Request is correctly marked as done at sdap_get_initgr_pgid(). Resolves: https://fedorahosted.org/sssd/ticket/2334 Reviewed-by: Jakub Hrozek --- src/providers/ldap/sdap_async_initgroups.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/providers/ldap/sdap_async_initgroups.c') diff --git a/src/providers/ldap/sdap_async_initgroups.c b/src/providers/ldap/sdap_async_initgroups.c index 401ab82dc..de4e0fbd1 100644 --- a/src/providers/ldap/sdap_async_initgroups.c +++ b/src/providers/ldap/sdap_async_initgroups.c @@ -3129,7 +3129,6 @@ static void sdap_get_initgr_done(struct tevent_req *subreq) tevent_req_set_callback(subreq, sdap_get_initgr_pgid, req); talloc_free(tmp_ctx); - tevent_req_done(req); return; fail: -- cgit