From: Howard Chu Date: Sun, 2 Sep 2007 23:53:29 +0000 (+0000) Subject: Read DB_CONFIG file in server and tool mode, for config conversions X-Git-Tag: OPENLDAP_REL_ENG_2_4_MP~12 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=33f311d81f2d6d5b8d809860894e701678d12038;p=openldap Read DB_CONFIG file in server and tool mode, for config conversions --- diff --git a/servers/slapd/back-bdb/config.c b/servers/slapd/back-bdb/config.c index 3895cf30c9..303035d391 100644 --- a/servers/slapd/back-bdb/config.c +++ b/servers/slapd/back-bdb/config.c @@ -369,8 +369,7 @@ bdb_cf_gen( ConfigArgs *c ) break; case BDB_CONFIG: - if ( ( slapMode & SLAP_SERVER_MODE ) - && !( bdb->bi_flags & BDB_IS_OPEN ) + if ( !( bdb->bi_flags & BDB_IS_OPEN ) && !bdb->bi_db_config ) { char buf[SLAP_TEXT_BUFLEN];