Check for modified filter after calling search rewriter plugin

This commit is contained in:
Luke Howard 2003-01-22 14:57:35 +00:00
parent 2aeec166ff
commit 561ab80de0

View File

@ -371,7 +371,10 @@ do_search(
return rc;
}
doPluginFNs( be, SLAPI_PLUGIN_COMPUTE_SEARCH_REWRITER_FN, pb );
if ( doPluginFNs( be, SLAPI_PLUGIN_COMPUTE_SEARCH_REWRITER_FN, pb ) == 0 ) {
slapi_pblock_get( pb, SLAPI_SEARCH_FILTER, (void *)&filter);
slapi_pblock_get( pb, SLAPI_SEARCH_STRFILTER, (void *)&fstr.bv_val );
}
#endif /* defined( LDAP_SLAPI ) */
/* actually do the search and send the result(s) */