From 214b79e74084896c4afb874fabf0f721a72c5b60 Mon Sep 17 00:00:00 2001 From: Luke Howard Date: Wed, 22 Jan 2003 13:51:27 +0000 Subject: [PATCH] Call search rewriter callback before first preop search plugin --- servers/slapd/search.c | 8 ++++++++ 1 file changed, 8 insertions(+) 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 ) { /* -- 2.39.5