From: Kurt Zeilenga Date: Thu, 24 Aug 2000 19:54:16 +0000 (+0000) Subject: Add fake validators for nisNetgroupTriple and bootParameter syntaxes. X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~2189 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4a3b51e0dac103207f52d7b1ba4b76f54653f659;p=openldap Add fake validators for nisNetgroupTriple and bootParameter syntaxes. Note that real validators would likely break common usage as 'keystring' is too limiting. --- 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},