mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Don't call search rewriter plugins for internal operations
This commit is contained in:
parent
0e5ff3dbd0
commit
e752b0b9af
1 changed files with 2 additions and 1 deletions
|
|
@ -303,7 +303,8 @@ slapi_op_search_callback( Operation *op, SlapReply *rs, int prc )
|
|||
|
||||
rs->sr_err = LDAP_SUCCESS;
|
||||
|
||||
if ( slapi_int_call_plugins( op->o_bd, SLAPI_PLUGIN_COMPUTE_SEARCH_REWRITER_FN, pb ) == 0 ) {
|
||||
if ( pb->pb_intop == 0 &&
|
||||
slapi_int_call_plugins( op->o_bd, SLAPI_PLUGIN_COMPUTE_SEARCH_REWRITER_FN, pb ) == 0 ) {
|
||||
/*
|
||||
* The plugin can set the SLAPI_SEARCH_FILTER.
|
||||
* SLAPI_SEARCH_STRFILER is not normative.
|
||||
|
|
|
|||
Loading…
Reference in a new issue