]> git.sur5r.net Git - openldap/commitdiff
ITS#5440 add eq rules for olcRootDN / olcSchemaDN
authorHoward Chu <hyc@openldap.org>
Sun, 29 Jun 2008 03:42:46 +0000 (03:42 +0000)
committerHoward Chu <hyc@openldap.org>
Sun, 29 Jun 2008 03:42:46 +0000 (03:42 +0000)
servers/slapd/bconfig.c

index bd93b5c7b4797855ac12e30dd9e907376df1c4ec..e1dab77134baf0d3368658ecc9ba3e76511f41fc 100644 (file)
@@ -501,6 +501,7 @@ static ConfigTable config_back_cf_table[] = {
                        "SYNTAX OMsBoolean SINGLE-VALUE )", NULL, NULL },
        { "rootdn", "dn", 2, 2, 0, ARG_DB|ARG_DN|ARG_QUOTE|ARG_MAGIC,
                &config_rootdn, "( OLcfgDbAt:0.8 NAME 'olcRootDN' "
+                       "EQUALITY distinguishedNameMatch "
                        "SYNTAX OMsDN SINGLE-VALUE )", NULL, NULL },
        { "rootDSE", "file", 2, 2, 0, ARG_MAGIC|CFG_ROOTDSE,
                &config_generic, "( OLcfgGlAt:51 NAME 'olcRootDSE' "
@@ -541,6 +542,7 @@ static ConfigTable config_back_cf_table[] = {
                &config_generic, NULL, NULL, NULL },
        { "schemadn", "dn", 2, 2, 0, ARG_MAY_DB|ARG_DN|ARG_QUOTE|ARG_MAGIC,
                &config_schema_dn, "( OLcfgGlAt:58 NAME 'olcSchemaDN' "
+                       "EQUALITY distinguishedNameMatch "
                        "SYNTAX OMsDN SINGLE-VALUE )", NULL, NULL },
        { "security", "factors", 2, 0, 0, ARG_MAY_DB|ARG_MAGIC,
                &config_security, "( OLcfgGlAt:59 NAME 'olcSecurity' "