From: Ondřej Kuzník Date: Wed, 27 Jun 2018 09:32:04 +0000 (+0100) Subject: ITS#8667 Do not finish glue initialisation in tool mode unless requested X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=dac02c7ef1655520ae64172757b04ae52ae006ce;p=openldap ITS#8667 Do not finish glue initialisation in tool mode unless requested --- diff --git a/servers/slapd/backglue.c b/servers/slapd/backglue.c index fff3081b7e..2da793e466 100644 --- a/servers/slapd/backglue.c +++ b/servers/slapd/backglue.c @@ -1309,7 +1309,7 @@ glue_db_init( SLAP_DBFLAGS( be ) |= SLAP_DBFLAG_GLUE_INSTANCE; - if ( ga_list ) { + if ( ga_list && ( slapMode & SLAP_SERVER_MODE ) ) { be->bd_info = (BackendInfo *)oi; glue_sub_attach( 1 ); }