[Date Prev][Date Next] [Chronological] [Thread] [Top]

patch for caseIgnoreIA5SubstringsMatch substring matching rule



Hi all!

I noticed that there wasn't a definition of the caseIgnoreIA5SubstringsMatch
substring matching rule in the cvs version of slapd.  This rule is used in the
'dc' objectclass in the core schema (and elsewhere).  I've added it to
servers/slapd/schema.c.  I've tested it as far as knowing that it allows the
loading of schema files that reference this rule.  There are a number of
definitions commented out in various schemas because slapd didn't have this
rule; perhaps they can now be uncommented.

Patch follows.

Regards,

William Webber
PeopleWeb Australia

====

--- schema.c.orig	Wed Jan 19 22:45:24 2000
+++ schema.c	Wed Jan 19 23:05:47 2000
@@ -1047,6 +1047,10 @@
 	 case_exact_normalize, case_exact_compare},
 	{"( 1.3.6.1.4.1.1466.109.114.2 NAME 'caseIgnoreIA5Match' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )",
 	 case_ignore_normalize, case_ignore_compare},
+         /* This is defined in draft-smith-ldap-inetorgperson-03.txt, and
+            used in a number of places, including 'dc' in the core schema */
+        {"( 1.3.6.1.4.1.1466.109.114.3 NAME 'caseIgnoreIA5SubstringsMatch' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )",
+         case_ignore_normalize, case_ignore_compare},
 	{NULL, NULL, NULL}
 };