From: Luke Howard Date: Fri, 28 Apr 2006 08:39:29 +0000 (+0000) Subject: SLAPI_PLUGIN_{PRE,POST}_RESULT_FN should also be called for X-Git-Tag: OPENLDAP_REL_ENG_2_4_1ALPHA~2^2~118 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=51a65afb86bf69bd46249e7c8da52c40edd44309;p=openldap SLAPI_PLUGIN_{PRE,POST}_RESULT_FN should also be called for REP_SASL and REP_EXTENDED in addition to REP_RESULT -- the distinction is not present in FDS --- diff --git a/servers/slapd/slapi/slapi_overlay.c b/servers/slapd/slapi/slapi_overlay.c index 424a3d7798..0fb616118f 100644 --- a/servers/slapd/slapi/slapi_overlay.c +++ b/servers/slapd/slapi/slapi_overlay.c @@ -230,7 +230,7 @@ slapi_over_result( Operation *op, SlapReply *rs, int type ) { Slapi_PBlock *pb = SLAPI_OPERATION_PBLOCK( op ); - assert( rs->sr_type == REP_RESULT ); + assert( rs->sr_type == REP_RESULT || rs->sr_type == REP_SASL || rs->sr_type == REP_EXTENDED ); slapi_over_call_plugins( pb, type ); @@ -499,6 +499,8 @@ slapi_over_response( Operation *op, SlapReply *rs ) if ( pb->pb_intop == 0 ) { switch ( rs->sr_type ) { case REP_RESULT: + case REP_SASL: + case REP_EXTENDED: rc = slapi_over_result( op, rs, SLAPI_PLUGIN_PRE_RESULT_FN ); break; case REP_SEARCH: @@ -528,6 +530,8 @@ slapi_over_cleanup( Operation *op, SlapReply *rs ) if ( pb->pb_intop == 0 ) { switch ( rs->sr_type ) { case REP_RESULT: + case REP_SASL: + case REP_EXTENDED: rc = slapi_over_result( op, rs, SLAPI_PLUGIN_POST_RESULT_FN ); break; case REP_SEARCH: