]> git.sur5r.net Git - openldap/commitdiff
Fix up subtreeSpecification to allow new GSER-based string format
authorKurt Zeilenga <kurt@openldap.org>
Tue, 22 Apr 2003 20:33:08 +0000 (20:33 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Tue, 22 Apr 2003 20:33:08 +0000 (20:33 +0000)
(real validatator needed).

servers/slapd/schema_init.c

index d0c3bfb3f7e5eaee419bdc6d933fe45ead4c79a7..40119e8c9c6c27b661c1e067b475b77ee988e02d 100644 (file)
@@ -2752,9 +2752,9 @@ static slap_syntax_defs_rec syntax_defs[] = {
                0, NULL, NULL},
        {"( 1.3.6.1.4.1.1466.115.121.1.44 DESC 'Printable String' )",
                0, printableStringValidate, NULL},
-       {"( 1.3.6.1.4.1.1466.115.121.1.45 DESC 'SubtreeSpecification' "
-               /*X_BINARY*/ X_NOT_H_R ")",
-               /*SLAP_SYNTAX_BINARY|*/ SLAP_SYNTAX_BER, berValidate, NULL},
+       {"( 1.3.6.1.4.1.1466.115.121.1.45 DESC 'SubtreeSpecification' )",
+#define subtreeStringValidate UTF8StringValidate /* FIXME */
+               0, subtreeSpecificationValidate, NULL},
        {"( 1.3.6.1.4.1.1466.115.121.1.49 DESC 'Supported Algorithm' "
                X_BINARY X_NOT_H_R ")",
                SLAP_SYNTAX_BINARY|SLAP_SYNTAX_BER, berValidate, NULL},