diff options
author | Pavel Reichl <preichl@redhat.com> | 2014-05-29 12:22:57 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-07-11 17:54:47 +0200 |
commit | c6291e9989994c56ab1ac5b88a6863388783458e (patch) | |
tree | e7e1f43801eecc9b098aed98f501aca29a7c55bb | |
parent | 0903af5c1f14c850d6fe4013d6f5f56f3f195c0a (diff) | |
download | sssd-c6291e9989994c56ab1ac5b88a6863388783458e.tar.gz sssd-c6291e9989994c56ab1ac5b88a6863388783458e.tar.xz sssd-c6291e9989994c56ab1ac5b88a6863388783458e.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>
-rw-r--r-- | src/providers/ldap/sdap_async_initgroups.c | 1 |
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 57ad0e578..a9bda933e 100644 --- a/src/providers/ldap/sdap_async_initgroups.c +++ b/src/providers/ldap/sdap_async_initgroups.c @@ -2936,7 +2936,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: |