From 60e17c1fff56620ff7024dcbece155cc83f06eed Mon Sep 17 00:00:00 2001 From: Luke Howard Date: Fri, 29 Jul 2005 16:45:25 +0000 Subject: [PATCH] Don't instantiate SLAPI overlay in tool mode --- servers/slapd/slapi/plugin.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/servers/slapd/slapi/plugin.c b/servers/slapd/slapi/plugin.c index b0306abd94..823b6328f6 100644 --- a/servers/slapd/slapi/plugin.c +++ b/servers/slapd/slapi/plugin.c @@ -643,6 +643,12 @@ slapi_int_read_config( return 1; } + if ( slapMode & SLAP_TOOL_MODE ) { + /* No SLAPI plugins for tools, yet... */ + /* When we have DB overlays we will support DB plugins */ + return 0; + } + /* automatically instantiate overlay if necessary */ if ( !overlay_is_inst( be, SLAPI_OVERLAY_NAME ) ) { if ( overlay_config( be, SLAPI_OVERLAY_NAME ) != 0 ) { -- 2.39.5