[SSSD] [PATCH] Fix faulty usn reinit
Jakub Hrozek
jhrozek at redhat.com
Wed Jan 9 14:08:36 UTC 2013
On Wed, Jan 09, 2013 at 11:35:38AM +0100, Jakub Hrozek wrote:
> Patch #3 is more tricky to test. Feel free to push patches #1 and #2 to
> master if it would ease your rebasing if I'm not done testing the last
> one soon.
Squash in the attached fix and you'll get an ack even for patch #3 :-)
-------------- next part --------------
>From 56b01ff8b5be101504f488d55d19df0d93b1cd0d Mon Sep 17 00:00:00 2001
From: Jakub Hrozek <jhrozek at redhat.com>
Date: Wed, 9 Jan 2013 15:06:46 +0100
Subject: [PATCH] reinit fix
---
src/providers/ldap/sdap_reinit.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/providers/ldap/sdap_reinit.c b/src/providers/ldap/sdap_reinit.c
index 792a659186e942473419401216d2daea6100d5b4..4c75f6c36c50631782669c4d65c2b1a0cf46b0ff 100644
--- a/src/providers/ldap/sdap_reinit.c
+++ b/src/providers/ldap/sdap_reinit.c
@@ -75,8 +75,8 @@ struct tevent_req* sdap_reinit_cleanup_send(TALLOC_CTX *mem_ctx,
goto immediately;
}
- req = ldap_id_enumerate_send(be_ctx->ev, id_ctx);
- if (req == NULL) {
+ subreq = ldap_id_enumerate_send(be_ctx->ev, id_ctx);
+ if (subreq == NULL) {
DEBUG(SSSDBG_CRIT_FAILURE, ("Unable to issue enumeration request\n"));
ret = ENOMEM;
goto immediately;
--
1.8.0.2
More information about the sssd-devel
mailing list