| Previous | Next |
| ERROR_DS_NO_RDN_DEFINED_IN_SCHEMA | ERROR_DS_NO_REQUESTED_ATTS_FOUND |
ERROR_DS_RDN_DOESNT_MATCH_SCHEMA
The naming attribute conflicts with rDNAttID
An Active Directory class definition can specify rDNAttID, the attribute type expected in the relative distinguished name of instances of that class. This error is raised when an Add operation proposes a DN whose final RDN is inconsistent with the class schema. The DN may be syntactically valid LDAP and the parent may exist; the mismatch is between the naming attribute and the selected structural class.
Inspect both the final RDN and the effective structural class, including inherited class information. Renaming the object text without changing the RDN attribute will not correct the request. Likewise, editing cn or another display attribute after creation does not change which naming attribute the schema requires for a new entry.
What to inspect
- Read
rDNAttIDon the relevantclassSchemaobject. - Compare the leftmost RDN attribute in the proposed DN with that schema value.
- Check the structural object class chosen by the Add request before changing the DN.
References
- MS-ADTS: schema consistency checks
- Microsoft: classSchema class
- IETF RFC 4512: LDAP directory models and schema
Looking for a different code? Search another status or error code.