]> git.sur5r.net Git - openldap/commitdiff
Read DB_CONFIG file in server and tool mode, for config conversions
authorHoward Chu <hyc@openldap.org>
Sun, 2 Sep 2007 23:53:29 +0000 (23:53 +0000)
committerHoward Chu <hyc@openldap.org>
Sun, 2 Sep 2007 23:53:29 +0000 (23:53 +0000)
servers/slapd/back-bdb/config.c

index 3895cf30c9175f0eee7979df909e1d0b34df482c..303035d3919566ee3327e80f427f93e03af84070 100644 (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];