]> git.sur5r.net Git - openldap/commitdiff
Call search rewriter callback before first preop search plugin
authorLuke Howard <lukeh@openldap.org>
Wed, 22 Jan 2003 13:51:27 +0000 (13:51 +0000)
committerLuke Howard <lukeh@openldap.org>
Wed, 22 Jan 2003 13:51:27 +0000 (13:51 +0000)
servers/slapd/search.c

index c4c5fb01aaf9a54363e06c46a9c65c8e61b3554a..fdd53ded16e98761ce37dfdd3615ad59a3230970 100644 (file)
@@ -353,6 +353,14 @@ 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 ) {
                /*