]> git.sur5r.net Git - openldap/commitdiff
Update handling of binary syntax to require ";binary" transfer
authorKurt Zeilenga <kurt@openldap.org>
Wed, 13 Sep 2000 21:50:24 +0000 (21:50 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 13 Sep 2000 21:50:24 +0000 (21:50 +0000)
servers/slapd/schema_init.c

index ba74c3716f5d25a91df4296a4dfa5c1306f8050e..76ccab5c913e0fa90cfadfa4d3a7be2062794777 100644 (file)
@@ -25,9 +25,6 @@
 #define phoneNumberNormalize                   numericStringNormalize
 #define telexNumberNormalize                   numericStringNormalize
 
-/* unimplemented normalizers */
-#define bitStringNormalize                             NULL
-
 /* unimplemented pretters */
 #define dnPretty                                               NULL
 #define integerPretty                                  NULL
@@ -3649,7 +3646,7 @@ struct syntax_defs_rec syntax_defs[] = {
        {"( 1.3.6.1.4.1.1466.115.121.1.4 DESC 'Audio' " X_NOT_H_R ")",
                SLAP_SYNTAX_BLOB, blobValidate, NULL, NULL},
        {"( 1.3.6.1.4.1.1466.115.121.1.5 DESC 'Binary' " X_BINARY X_NOT_H_R ")",
-               SLAP_SYNTAX_BER, berValidate, NULL, NULL},
+               SLAP_SYNTAX_BINARY|SLAP_SYNTAX_BER, berValidate, NULL, NULL},
        {"( 1.3.6.1.4.1.1466.115.121.1.6 DESC 'Bit String' )",
                0, bitStringValidate, NULL, NULL },
        {"( 1.3.6.1.4.1.1466.115.121.1.7 DESC 'Boolean' )",