mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Don't instantiate SLAPI overlay in tool mode
This commit is contained in:
parent
be4e918799
commit
60e17c1fff
1 changed files with 6 additions and 0 deletions
|
|
@ -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 ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue