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 $ "