Don't instantiate SLAPI overlay in tool mode

This commit is contained in:
Luke Howard 2005-07-29 16:45:25 +00:00
parent be4e918799
commit 60e17c1fff

View file

@ -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 ) {