From 8c18022b416697055ddfa12c37b2db176c796382 Mon Sep 17 00:00:00 2001 From: Luke Howard Date: Thu, 23 Jan 2003 09:22:32 +0000 Subject: [PATCH] Install object type plugins --- servers/slapd/search.c | 10 +++++----- servers/slapd/slapi/plugin.c | 3 ++- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/servers/slapd/search.c b/servers/slapd/search.c index 2314bce085..481af2ce28 100644 --- a/servers/slapd/search.c +++ b/servers/slapd/search.c @@ -488,10 +488,10 @@ static int doPreSearchPluginFNs( Backend *be, Slapi_PBlock *pb ) * entire operation. */ #ifdef NEW_LOGGING - LDAP_LOG( OPERATION, INFO, "do_search: search preoperation plugin " + LDAP_LOG( OPERATION, INFO, "doPreSearchPluginFNs: search preoperation plugin " "failed\n", 0, 0, 0 ); #else - Debug(LDAP_DEBUG_TRACE, "do_search: search preoperation plugin " + Debug(LDAP_DEBUG_TRACE, "doPreSearchPluginFNs: search preoperation plugin " "failed.\n", 0, 0, 0); #endif if ( slapi_pblock_get( pb, SLAPI_RESULT_CODE, (void *)&rc ) != 0) @@ -515,7 +515,7 @@ static int doSearchRewriteFNs( Backend *be, Slapi_PBlock *pb, Filter **filter, s filter2bv( *filter, fstr ); #ifdef NEW_LOGGING LDAP_LOG( OPERATION, ARGS, - "do_search: after compute_rewrite_search filter: %s\n", + "doSearchRewriteFNs: after compute_rewrite_search filter: %s\n", fstr->bv_len ? fstr->bv_val : "empty", 0 ); #else Debug( LDAP_DEBUG_ARGS, " after compute_rewrite_search filter: %s\n", @@ -530,10 +530,10 @@ static int doPostSearchPluginFNs( Backend *be, Slapi_PBlock *pb ) { if ( doPluginFNs( be, SLAPI_PLUGIN_POST_SEARCH_FN, pb ) != 0 ) { #ifdef NEW_LOGGING - LDAP_LOG( OPERATION, INFO, "do_search: search postoperation plugins " + LDAP_LOG( OPERATION, INFO, "doPostSearchPluginFNs: search postoperation plugins " "failed\n", 0, 0, 0 ); #else - Debug(LDAP_DEBUG_TRACE, "do_search: search postoperation plugins " + Debug(LDAP_DEBUG_TRACE, "doPostSearchPluginFNs: search postoperation plugins " "failed.\n", 0, 0, 0); #endif } diff --git a/servers/slapd/slapi/plugin.c b/servers/slapd/slapi/plugin.c index 5acd5261eb..46f3979ce3 100644 --- a/servers/slapd/slapi/plugin.c +++ b/servers/slapd/slapi/plugin.c @@ -673,7 +673,8 @@ netscape_plugin( if ( iType == SLAPI_PLUGIN_PREOPERATION || iType == SLAPI_PLUGIN_EXTENDEDOP || - iType == SLAPI_PLUGIN_POSTOPERATION ) { + iType == SLAPI_PLUGIN_POSTOPERATION || + iType == SLAPI_PLUGIN_OBJECT ) { int rc; Slapi_PBlock *pPlugin; -- 2.39.5