summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/sdap_async_initgroups.c
diff options
context:
space:
mode:
authorPavel Reichl <preichl@redhat.com>2014-05-29 12:22:57 +0100
committerJakub Hrozek <jhrozek@redhat.com>2014-06-02 12:10:50 +0200
commitfc731b54cd74e6732f1e33c7cc4ed49cab0f7c90 (patch)
treef9a1c736224d5cb2b4a9db4c7c52efaa90cec511 /src/providers/ldap/sdap_async_initgroups.c
parentd10fb882aa4a30f78493b7162f482bb0f17d3ff5 (diff)
downloadsssd-fc731b54cd74e6732f1e33c7cc4ed49cab0f7c90.tar.gz
sssd-fc731b54cd74e6732f1e33c7cc4ed49cab0f7c90.tar.xz
sssd-fc731b54cd74e6732f1e33c7cc4ed49cab0f7c90.zip
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 <jhrozek@redhat.com>
Diffstat (limited to 'src/providers/ldap/sdap_async_initgroups.c')
-rw-r--r--src/providers/ldap/sdap_async_initgroups.c1
1 files changed, 0 insertions, 1 deletions
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: