From 33f311d81f2d6d5b8d809860894e701678d12038 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sun, 2 Sep 2007 23:53:29 +0000 Subject: [PATCH] Read DB_CONFIG file in server and tool mode, for config conversions --- servers/slapd/back-bdb/config.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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]; -- 2.39.5