]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#5118 from HEAD
authorHoward Chu <hyc@openldap.org>
Sun, 2 Sep 2007 23:57:35 +0000 (23:57 +0000)
committerHoward Chu <hyc@openldap.org>
Sun, 2 Sep 2007 23:57:35 +0000 (23:57 +0000)
servers/slapd/back-bdb/config.c

index 6cb702cbf76c5c0f77172c69a2d8ecc210214d40..1acc1205663d486c2540b309e03addb8910fafeb 100644 (file)
@@ -363,7 +363,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];
                                FILE *f = fopen( bdb->bi_db_config_path, "r" );