ITS#8667 Do not finish glue initialisation in tool mode unless requested

This commit is contained in:
Ondřej Kuzník 2018-06-27 10:32:04 +01:00
parent 242ab9c6ef
commit dac02c7ef1

View file

@ -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 );
}