From: Luke Howard Date: Wed, 22 Jan 2003 13:51:27 +0000 (+0000) Subject: Call search rewriter callback before first preop search plugin X-Git-Tag: NO_SLAP_OP_BLOCKS~543 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=214b79e74084896c4afb874fabf0f721a72c5b60;p=openldap Call search rewriter callback before first preop search plugin --- diff --git a/servers/slapd/search.c b/servers/slapd/search.c index c4c5fb01aa..fdd53ded16 100644 --- a/servers/slapd/search.c +++ b/servers/slapd/search.c @@ -353,6 +353,14 @@ do_search( slapi_pblock_set( pb, SLAPI_SEARCH_ATTRSONLY, (void *)attrsonly ); slapi_pblock_set( pb, SLAPI_MANAGEDSAIT, (void *)(1) ); + /* + * XXX FIXME: do we call this here? Awaiting clarification + * from Sun. + * + * Rewrite filter for any computed attributes. + */ + doPluginFNs( be, SLAPI_PLUGIN_COMPUTE_SEARCH_REWRITER_FN, pb ); + rc = doPluginFNs( be, SLAPI_PLUGIN_PRE_SEARCH_FN, pb ); if ( rc != 0 ) { /*