From 846cf308424347aa99895b5e9ef3637f1af956eb Mon Sep 17 00:00:00 2001 From: hyc Date: Sat, 6 Sep 2014 09:49:32 +0100 Subject: [PATCH] ITS#7930 additional fix bypass cleanup handlers for suppressed search result msgs --- servers/slapd/back-ldap/chain.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/servers/slapd/back-ldap/chain.c b/servers/slapd/back-ldap/chain.c index 14a93abcb6..4ff6b7e23a 100644 --- a/servers/slapd/back-ldap/chain.c +++ b/servers/slapd/back-ldap/chain.c @@ -322,6 +322,10 @@ ldap_chain_cb_search_response( Operation *op, SlapReply *rs ) /* back-ldap tried to send result */ lb->lb_status = LDAP_CH_RES; + /* don't let other callbacks run, this isn't + * the real result for this op. + */ + op->o_callback->sc_next = NULL; } return 0; -- 2.39.5