| Previous | Next |
| ERROR_DS_SEMANTIC_ATT_TEST | ERROR_DS_EXISTS_IN_MUST_HAVE |
ERROR_DS_SYNTAX_MISMATCH
attributeSyntax, oMSyntax, and oMObjectClass do not describe one valid syntax
Active Directory attribute syntax is not determined by one field in isolation. MS-ADTS validates the combination of attributeSyntax, oMSyntax, and, where required, oMObjectClass against the server-defined syntax table. This error means the proposed attributeSchema definition combines those fields in a way that does not map to a supported syntax.
Copy the complete syntax tuple from a documented equivalent attribute only when the data representation is truly the same. Changing a single numeric oMSyntax value until the update passes can create an attribute whose wire representation does not match application expectations. Compare the LDIF with MS-ADTS syntax definitions and a known schema object using the intended data type.
What to inspect
- Inspect all three syntax-related fields together.
- Compare with an existing attribute that uses the same intended LDAP value representation.
- Correct the schema definition before writing application data to the new attribute.
References
- MS-ADTS: schema consistency checks
- Microsoft: attributeSchema class
- IETF RFC 4512: LDAP directory models and schema
Looking for a different code? Search another status or error code.