diff options
author | Nathan Kinder <nkinder@redhat.com> | 2009-05-08 09:14:42 -0700 |
---|---|---|
committer | Nathan Kinder <nkinder@redhat.com> | 2009-05-08 09:14:42 -0700 |
commit | d19eafcd211d89cffdac1b2c3432087443e7d122 (patch) | |
tree | 26d2b7f956c2ceaa3f605a42552a113e156b5b30 /ldap/servers/plugins/syntaxes/bin.c | |
parent | 5d3d883251dd15cf719181e33fb6954454869822 (diff) | |
download | ds-d19eafcd211d89cffdac1b2c3432087443e7d122.tar.gz ds-d19eafcd211d89cffdac1b2c3432087443e7d122.tar.xz ds-d19eafcd211d89cffdac1b2c3432087443e7d122.zip |
Added capability to validate syntax of values being added to the database. Also added numericstring syntax support.
For more details, see the design doc at http://directory.fedoraproject.org/wiki/Syntax_Validation_Design
Diffstat (limited to 'ldap/servers/plugins/syntaxes/bin.c')
-rw-r--r-- | ldap/servers/plugins/syntaxes/bin.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ldap/servers/plugins/syntaxes/bin.c b/ldap/servers/plugins/syntaxes/bin.c index 6d6c7632..b7be0d1a 100644 --- a/ldap/servers/plugins/syntaxes/bin.c +++ b/ldap/servers/plugins/syntaxes/bin.c @@ -43,8 +43,7 @@ /* bin.c - bin syntax routines */ /* - * This file actually implements two syntax plugins: OctetString and Binary. - * We treat them identically for now. XXXmcs: check if that is correct. + * This file actually implements three syntax plugins: OctetString, JPEG, and Binary. */ #include <stdio.h> @@ -73,6 +72,9 @@ static char *octetstring_names[] = { "OctetString", OCTETSTRING_SYNTAX_OID, 0 }; static char *jpeg_names[] = { "JPEG", JPEG_SYNTAX_OID, 0 }; +/* This syntax has "gone away" in RFC 4517, however we still use it for + * a number of attributes in our default schema. We should try to eliminate + * it's use and remove support for it. */ static Slapi_PluginDesc bin_pdesc = { "bin-syntax", PLUGIN_MAGIC_VENDOR_STR, PRODUCTTEXT, "binary attribute syntax plugin" |