Commit 33f311d8 authored by Howard Chu's avatar Howard Chu
Browse files

Read DB_CONFIG file in server and tool mode, for config conversions

parent d316b89b
...@@ -369,8 +369,7 @@ bdb_cf_gen( ConfigArgs *c ) ...@@ -369,8 +369,7 @@ bdb_cf_gen( ConfigArgs *c )
break; break;
case BDB_CONFIG: case BDB_CONFIG:
if ( ( slapMode & SLAP_SERVER_MODE ) if ( !( bdb->bi_flags & BDB_IS_OPEN )
&& !( bdb->bi_flags & BDB_IS_OPEN )
&& !bdb->bi_db_config ) && !bdb->bi_db_config )
{ {
char buf[SLAP_TEXT_BUFLEN]; char buf[SLAP_TEXT_BUFLEN];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment