summaryrefslogtreecommitdiffstats
path: root/src/providers
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:14:23 +0200
commit356b2dc5b81b073cfe1734df656fd34bef61c39d (patch)
tree96eabca5530fecfcaa93fff8f7badabbb72824a1 /src/providers
parentca4514cfffdc0e3ee44b48ccf1bb8e5d0377a0c3 (diff)
downloadsssd-356b2dc5b81b073cfe1734df656fd34bef61c39d.tar.gz
sssd-356b2dc5b81b073cfe1734df656fd34bef61c39d.tar.xz
sssd-356b2dc5b81b073cfe1734df656fd34bef61c39d.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> (cherry picked from commit fc731b54cd74e6732f1e33c7cc4ed49cab0f7c90)
Diffstat (limited to 'src/providers')
-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 a8116c199..90938ac02 100644
--- a/src/providers/ldap/sdap_async_initgroups.c
+++ b/src/providers/ldap/sdap_async_initgroups.c
@@ -3131,7 +3131,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: