(Answer) (Category) OpenLDAP Faq-O-Matic : (Category) OpenLDAP Software FAQ : (Category) Common Errors : (Answer) ldap_add/modify: Invalid syntax
This error is reported when a value of an attribute does not conform to syntax restrictions. Additional information is commonly provided stating which value of which attribute was found to be invalid. Double check this value and other values (the server will only report the first error it finds).

Common causes include:

 extraneous white space (especially trailing white space)
 improperly encoded characters (LDAPv3 uses UTF-8 encoded Unicode)
 empty values (few syntaxes allow empty values)

For certain syntax, like OBJECT IDENTIFER (OID), this error can indicate that the OID descriptor (a "short name") provided is unrecongized. For instance, this error is returned if the objectClass value provided is unrecongized.
[Append to This Answer]
Previous: (Answer) ldap_*: other error
Next: (Answer) ldap_add/modify: Object class violation
This document is: http://www.openldap.org/faq/index.cgi?file=648
[Search] [Appearance]
This is a Faq-O-Matic 2.721.test.
© Copyright 1998-2013, OpenLDAP Foundation, info@OpenLDAP.org