What does Windows error code 8307 (ERROR_DS_RDN_DOESNT_MATCH_SCHEMA) mean?

 
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 rDNAttID on the relevant classSchema object.
  • 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


Looking for a different code? Search another status or error code.