From 4a3b51e0dac103207f52d7b1ba4b76f54653f659 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Thu, 24 Aug 2000 19:54:16 +0000 Subject: [PATCH] Add fake validators for nisNetgroupTriple and bootParameter syntaxes. Note that real validators would likely break common usage as 'keystring' is too limiting. --- servers/slapd/schema_init.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/servers/slapd/schema_init.c b/servers/slapd/schema_init.c index 6c14e783c3..4e7a570528 100644 --- a/servers/slapd/schema_init.c +++ b/servers/slapd/schema_init.c @@ -19,6 +19,8 @@ /* recycled validatation routines */ #define berValidate blobValidate +#define nisNetgroupTripleValidate printableStringValidate +#define bootParameterValidate printableStringValidate /* unimplemented validators */ #define bitStringValidate NULL @@ -2292,6 +2294,12 @@ struct syntax_defs_rec syntax_defs[] = { {"( 1.3.6.1.4.1.1466.115.121.1.58 DESC 'Substring Assertion' )", 0, NULL, NULL, NULL}, + /* RFC 2307 NIS Syntaxes */ + {"( 1.3.6.1.1.1.0.0 DESC 'RFC2307 NIS Triple' )", + 0, nisNetgroupTripleValidate, NULL, NULL}, + {"( 1.3.6.1.1.1.0.1 DESC 'RFC2307 Boot Parameter' )", + 0, bootParameterValidate, NULL, NULL}, + /* OpenLDAP Experimental Syntaxes */ {"( 1.3.6.1.4.1.4203.666.2.1 DESC 'OpenLDAP Experimental ACI' )", 0, IA5StringValidate /* THIS WILL CHANGE FOR NEW ACI SYNTAX */, NULL, NULL}, -- 2.39.5