From: Howard Chu Date: Fri, 1 Jul 2005 00:17:51 +0000 (+0000) Subject: HDB needs its own config objectclass to avoid confusion when parsing the X-Git-Tag: OPENLDAP_AC_BP~479 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c384e2ed1397e90ccf7593fb6e20e375f0084a70;p=openldap HDB needs its own config objectclass to avoid confusion when parsing the config db --- diff --git a/servers/slapd/back-bdb/config.c b/servers/slapd/back-bdb/config.c index ee8e11ed09..ec013a2512 100644 --- a/servers/slapd/back-bdb/config.c +++ b/servers/slapd/back-bdb/config.c @@ -118,9 +118,16 @@ static ConfigTable bdbcfg[] = { }; static ConfigOCs bdbocs[] = { - { "( OLcfgDbOc:1.1 " + { +#ifdef BDB_HIER + "( OLcfgDbOc:1.2 " + "NAME 'olcHdbConfig' " + "DESC 'HDB backend configuration' " +#else + "( OLcfgDbOc:1.1 " "NAME 'olcBdbConfig' " "DESC 'BDB backend configuration' " +#endif "SUP olcDatabaseConfig " "MUST olcDbDirectory " "MAY ( olcDbCacheSize $ olcDbCheckpoint $ olcDbConfig $ "