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

This commit is contained in:
Howard Chu 2007-09-02 23:53:29 +00:00
parent d316b89bc3
commit 33f311d81f

View File

@ -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];