From c384e2ed1397e90ccf7593fb6e20e375f0084a70 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Fri, 1 Jul 2005 00:17:51 +0000 Subject: [PATCH] HDB needs its own config objectclass to avoid confusion when parsing the config db --- servers/slapd/back-bdb/config.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 $ " -- 2.39.5