From: Kurt Zeilenga Date: Wed, 13 Sep 2000 21:50:24 +0000 (+0000) Subject: Update handling of binary syntax to require ";binary" transfer X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~2018 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=16cdbd9c7416435a171e4bf9bfa54f80c404384b;p=openldap Update handling of binary syntax to require ";binary" transfer --- diff --git a/servers/slapd/schema_init.c b/servers/slapd/schema_init.c index ba74c3716f..76ccab5c91 100644 --- a/servers/slapd/schema_init.c +++ b/servers/slapd/schema_init.c @@ -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' )",