mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-22 15:49:34 -05:00
Add fake validators for nisNetgroupTriple and bootParameter syntaxes.
Note that real validators would likely break common usage as 'keystring' is too limiting.
This commit is contained in:
parent
60c474a4a0
commit
4a3b51e0da
1 changed files with 8 additions and 0 deletions
|
|
@ -19,6 +19,8 @@
|
||||||
|
|
||||||
/* recycled validatation routines */
|
/* recycled validatation routines */
|
||||||
#define berValidate blobValidate
|
#define berValidate blobValidate
|
||||||
|
#define nisNetgroupTripleValidate printableStringValidate
|
||||||
|
#define bootParameterValidate printableStringValidate
|
||||||
|
|
||||||
/* unimplemented validators */
|
/* unimplemented validators */
|
||||||
#define bitStringValidate NULL
|
#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' )",
|
{"( 1.3.6.1.4.1.1466.115.121.1.58 DESC 'Substring Assertion' )",
|
||||||
0, NULL, NULL, NULL},
|
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 */
|
/* OpenLDAP Experimental Syntaxes */
|
||||||
{"( 1.3.6.1.4.1.4203.666.2.1 DESC 'OpenLDAP Experimental ACI' )",
|
{"( 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},
|
0, IA5StringValidate /* THIS WILL CHANGE FOR NEW ACI SYNTAX */, NULL, NULL},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue