mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-28 02:29:34 -05:00
Call rewrite function after preop plugins (not before) - confirmed with Sun
This commit is contained in:
parent
5b4b062dba
commit
2aeec166ff
1 changed files with 2 additions and 8 deletions
|
|
@ -353,14 +353,6 @@ 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 ) {
|
||||
/*
|
||||
|
|
@ -378,6 +370,8 @@ do_search(
|
|||
rc = LDAP_OTHER;
|
||||
return rc;
|
||||
}
|
||||
|
||||
doPluginFNs( be, SLAPI_PLUGIN_COMPUTE_SEARCH_REWRITER_FN, pb );
|
||||
#endif /* defined( LDAP_SLAPI ) */
|
||||
|
||||
/* actually do the search and send the result(s) */
|
||||
|
|
|
|||
Loading…
Reference in a new issue