| Previous | Next |
| ERROR_DS_KEY_NOT_UNIQUE | ERROR_DS_SAM_NEED_BOOTKEY_PASSWORD |
ERROR_DS_WRONG_LINKED_ATT_SYNTAX
Forward links and back links permit different, narrowly defined syntaxes
ERROR_DS_WRONG_LINKED_ATT_SYNTAX means a linked attributeSchema definition uses an incompatible data syntax. A forward link must use one of the Active Directory syntaxes capable of carrying a distinguished-name reference, while its computed back link must use Object(DS-DN). The restriction lets the directory maintain referential and replication metadata for individual link values.
Check attributeSyntax, oMSyntax, and oMObjectClass together with linkID. Do not substitute a plain Unicode DN string or arbitrary octet string because it looks equivalent in an application. Directory-aware DN syntaxes preserve object-reference semantics that ordinary strings do not. If the attribute must store external identifiers rather than directory object links, remove the linked-attribute design and use a normal syntax instead of forcing it into a forward/back-link pair.
Schema fields that reveal the mismatch
- Forward or back-link role derived from linkID.
- attributeSyntax, oMSyntax, and oMObjectClass.
- Expected referenced object and naming-context scope.
- Whether a normal nonlinked string would better model the data.
References
- Microsoft: permitted syntaxes for linked attributes
- Microsoft: Active Directory syntax triplets
- MS-ADTS: LDAP representation of directory syntaxes
Looking for a different code? Search another status or error code.