[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.


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},
 	{"( NAME 'caseIgnoreIA5Match' SYNTAX )",
 	 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 */
+        {"( NAME 'caseIgnoreIA5SubstringsMatch' SYNTAX )",
+         case_ignore_normalize, case_ignore_compare},