]> git.sur5r.net Git - openldap/commitdiff
ITS#3699 fix dbconfig, limits schema flags
authorHoward Chu <hyc@openldap.org>
Tue, 3 May 2005 09:44:46 +0000 (09:44 +0000)
committerHoward Chu <hyc@openldap.org>
Tue, 3 May 2005 09:44:46 +0000 (09:44 +0000)
servers/slapd/back-bdb/config.c
servers/slapd/bconfig.c

index ad242744c711080189e22380e6e8e55a11408350..063f10134bcf3154bbadafa614532cfe5831729f 100644 (file)
@@ -68,7 +68,7 @@ static ConfigTable bdbcfg[] = {
                bdb_cf_gen, "( OLcfgDbAt:1.2 NAME 'olcDbCheckpoint' "
                        "DESC 'Database checkpoint interval in kbytes and minutes' "
                        "SYNTAX OMsDirectoryString SINGLE-VALUE )",NULL, NULL },
-       { "dbconfig", "DB_CONFIG setting", 3, 0, 0, ARG_MAGIC|BDB_CONFIG,
+       { "dbconfig", "DB_CONFIG setting", 1, 0, 0, ARG_MAGIC|BDB_CONFIG,
                bdb_cf_gen, "( OLcfgDbAt:1.3 NAME 'olcDbConfig' "
                        "DESC 'BerkeleyDB DB_CONFIG configuration directives' "
                        "SYNTAX OMsDirectoryString )",NULL, NULL },
index f32f8e98121000b3f9f6b1cbdc9bc1a1807057c8..60a6e6cad4780672444dde06ee05e1a4e6c3db1b 100644 (file)
@@ -122,7 +122,6 @@ static ConfigDriver config_passwd_hash;
 static ConfigDriver config_schema_dn;
 static ConfigDriver config_sizelimit;
 static ConfigDriver config_timelimit;
-static ConfigDriver config_limits; 
 static ConfigDriver config_overlay;
 static ConfigDriver config_suffix; 
 static ConfigDriver config_deref_depth;
@@ -337,7 +336,7 @@ ConfigTable config_back_cf_table[] = {
                        "SYNTAX OMsBoolean SINGLE-VALUE )", NULL, NULL },
        { "limits", "limits", 2, 0, 0, ARG_DB|ARG_MAGIC|CFG_LIMITS,
                &config_generic, "( OLcfgDbAt:0.5 NAME 'olcLimits' "
-                       "SYNTAX OMsDirectoryString )", NULL, NULL },
+                       "SYNTAX OMsDirectoryString X-ORDERED 'VALUES' )", NULL, NULL },
        { "localSSF", "ssf", 2, 2, 0, ARG_INT,
                &local_ssf, "( OLcfgGlAt:26 NAME 'olcLocalSSF' "
                        "SYNTAX OMsInteger SINGLE-VALUE )", NULL, NULL },