| Previous | Next |
| STATUS_DS_NO_ATTRIBUTE_OR_VALUE | STATUS_DS_ATTRIBUTE_TYPE_UNDEFINED |
STATUS_DS_INVALID_ATTRIBUTE_SYNTAX
The value does not match the attribute syntax
Active Directory validates attribute values against schema syntax before accepting an add or modify operation. This status points to the value representation, encoding or type, not to the existence of the attribute name.
Typical causes include writing a DN where a SID is required, supplying a string where an integer or generalized time value is expected, using the wrong binary encoding, or sending a multi-valued change in the wrong LDAP modify form.
What to inspect
- Read the attributeSchema definition and syntax OID for the target attribute.
- Capture the exact wire value or ADSI/.NET value after type conversion.
- Check escaping rules for DN, RDN and string values separately.
References
- Microsoft: Active Directory schema
- LDAP schema model: RFC 4512
- LDAP DN string form: RFC 4514
- Microsoft Open Specifications: NTSTATUS values
Looking for a different code? Search another status or error code.