]> git.ipfire.org Git - thirdparty/openldap.git/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)
committerQuanah Gibson-Mount <quanah@openldap.org>
Mon, 9 Jul 2018 16:40:46 +0000 (16:40 +0000)
servers/slapd/backglue.c

index 53c92448f4071336c47d0bbcee2c37ea4486f983..c2cfed45ce052c02afb38dd6bc2fc326f25e6a9e 100644 (file)
@@ -1312,7 +1312,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 );
        }