mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-12 10:54:48 +08:00
Call search rewriter callback before first preop search plugin
This commit is contained in:
parent
2bc4da9378
commit
214b79e740
@ -353,6 +353,14 @@ do_search(
|
|||||||
slapi_pblock_set( pb, SLAPI_SEARCH_ATTRSONLY, (void *)attrsonly );
|
slapi_pblock_set( pb, SLAPI_SEARCH_ATTRSONLY, (void *)attrsonly );
|
||||||
slapi_pblock_set( pb, SLAPI_MANAGEDSAIT, (void *)(1) );
|
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 );
|
rc = doPluginFNs( be, SLAPI_PLUGIN_PRE_SEARCH_FN, pb );
|
||||||
if ( rc != 0 ) {
|
if ( rc != 0 ) {
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user