]> git.sur5r.net Git - openldap/commitdiff
ITS#8667 Do not finish glue initialisation in tool mode unless requested
authorOndřej Kuzník <ondra@openldap.org>
Wed, 27 Jun 2018 09:32:04 +0000 (10:32 +0100)
committerOndřej Kuzník <ondra@openldap.org>
Mon, 2 Jul 2018 15:19:48 +0000 (16:19 +0100)
servers/slapd/backglue.c

index fff3081b7ec9440a4a5473c3d23c1f65296e2be2..2da793e4666e79e538bd8ff58652bd2be0a0fe32 100644 (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 );
        }