[SSSD] [PATCH] IPA: Don't call tevent_req_post outside _send
Jakub Hrozek
jhrozek at redhat.com
Wed Feb 19 14:12:33 UTC 2014
Hi,
I managed to make the AD lookup fail while testing Sumit's recent
patches and the sssd_be process failed. I believe the extra
tevent_req_post is to blame, see the attached patch.
-------------- next part --------------
>From 0118f213bc49f5bcd261cb20a3c8ee9bad94c6a4 Mon Sep 17 00:00:00 2001
From: Jakub Hrozek <jhrozek at redhat.com>
Date: Wed, 19 Feb 2014 15:00:15 +0100
Subject: [PATCH] IPA: Don't call tevent_req_post outside _send
---
src/providers/ipa/ipa_subdomains_id.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/providers/ipa/ipa_subdomains_id.c b/src/providers/ipa/ipa_subdomains_id.c
index a09f2ac6c3b7827a652a098d7e2ec49785d5ac30..9ed9c533c70b2fa37e7e9881228aecff6664f5a0 100644
--- a/src/providers/ipa/ipa_subdomains_id.c
+++ b/src/providers/ipa/ipa_subdomains_id.c
@@ -580,7 +580,6 @@ ipa_get_ad_acct_ad_part_done(struct tevent_req *subreq)
fail:
state->dp_error = DP_ERR_FATAL;
tevent_req_error(req, ret);
- tevent_req_post(req, state->ev);
return;
}
--
1.8.5.3
More information about the sssd-devel
mailing list