mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-06 23:19:59 -05:00
Check for modified filter after calling search rewriter plugin
This commit is contained in:
parent
2aeec166ff
commit
561ab80de0
1 changed files with 4 additions and 1 deletions
|
|
@ -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) */
|
||||
|
|
|
|||
Loading…
Reference in a new issue