From: Luke Howard Date: Fri, 29 Jul 2005 16:45:25 +0000 (+0000) Subject: Don't instantiate SLAPI overlay in tool mode X-Git-Tag: OPENLDAP_AC_BP~152 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=60e17c1fff56620ff7024dcbece155cc83f06eed;p=openldap Don't instantiate SLAPI overlay in tool mode --- 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 ) {