From: Howard Chu Date: Fri, 11 Feb 2011 04:27:17 +0000 (+0000) Subject: Add substring matching rules for some of the olc-schema attributes. X-Git-Tag: MIGRATION_CVS2GIT~80 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=61029a3ecf470cd0aaf346e87d826ed7d87c1c5c;p=openldap Add substring matching rules for some of the olc-schema attributes. Allows for easy extraction of individual objectclass definitions using matchedValues searches. --- diff --git a/servers/slapd/bconfig.c b/servers/slapd/bconfig.c index 72b36631a7..0ab97d98b3 100644 --- a/servers/slapd/bconfig.c +++ b/servers/slapd/bconfig.c @@ -319,6 +319,7 @@ static ConfigTable config_back_cf_table[] = { &config_generic, "( OLcfgGlAt:4 NAME 'olcAttributeTypes' " "DESC 'OpenLDAP attributeTypes' " "EQUALITY caseIgnoreMatch " + "SUBSTR caseIgnoreSubstringsMatch " "SYNTAX OMsDirectoryString X-ORDERED 'VALUES' )", NULL, NULL }, { "authid-rewrite", NULL, 2, 0, STRLENOF( "authid-rewrite" ), @@ -368,6 +369,7 @@ static ConfigTable config_back_cf_table[] = { &config_generic, "( OLcfgGlAt:16 NAME 'olcDitContentRules' " "DESC 'OpenLDAP DIT content rules' " "EQUALITY caseIgnoreMatch " + "SUBSTR caseIgnoreSubstringsMatch " "SYNTAX OMsDirectoryString X-ORDERED 'VALUES' )", NULL, NULL }, { "extra_attrs", "attrlist", 2, 2, 0, ARG_DB|ARG_MAGIC, @@ -414,6 +416,7 @@ static ConfigTable config_back_cf_table[] = { &config_generic, "( OLcfgGlAt:85 NAME 'olcLdapSyntaxes' " "DESC 'OpenLDAP ldapSyntax' " "EQUALITY caseIgnoreMatch " + "SUBSTR caseIgnoreSubstringsMatch " "SYNTAX OMsDirectoryString X-ORDERED 'VALUES' )", NULL, NULL }, { "limits", "limits", 2, 0, 0, ARG_DB|ARG_MAGIC|CFG_LIMITS, @@ -469,11 +472,13 @@ static ConfigTable config_back_cf_table[] = { &config_generic, "( OLcfgGlAt:32 NAME 'olcObjectClasses' " "DESC 'OpenLDAP object classes' " "EQUALITY caseIgnoreMatch " + "SUBSTR caseIgnoreSubstringsMatch " "SYNTAX OMsDirectoryString X-ORDERED 'VALUES' )", NULL, NULL }, { "objectidentifier", "name>