From 16cdbd9c7416435a171e4bf9bfa54f80c404384b Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Wed, 13 Sep 2000 21:50:24 +0000 Subject: [PATCH] Update handling of binary syntax to require ";binary" transfer --- servers/slapd/schema_init.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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' )", -- 2.39.5