From: hyc Date: Sat, 6 Sep 2014 08:49:32 +0000 (+0100) Subject: ITS#7930 additional fix X-Git-Tag: OPENLDAP_REL_ENG_2_4_40~23 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4ede3a32f5222280cbfec8df290a6cc92694ab27;p=openldap ITS#7930 additional fix bypass cleanup handlers for suppressed search result msgs --- diff --git a/servers/slapd/back-ldap/chain.c b/servers/slapd/back-ldap/chain.c index bd7cb7c552..9b0994215c 100644 --- a/servers/slapd/back-ldap/chain.c +++ b/servers/slapd/back-ldap/chain.c @@ -321,6 +321,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;