ERROR_DS_NO_RDN_DEFINED_IN_SCHEMA - 8306 (0x2072)

An attempt was made to add an object of a class that does not have an RDN defined in the schema.

Updated: Feb 21, 2026

Technical Meaning

The error code ERROR_DS_NO_RDN_DEFINED_IN_SCHEMA (8306, 0x2072) indicates that an attempt was made to add an object of a class that does not have a Relative Distinguished Name (RDN) defined in the schema. The RDN is a unique identifier for objects within a directory service.

Error Details

In Active Directory and other directory services, each object must be uniquely identified by its RDN. This error occurs when an attempt is made to create or modify an object where no such RDN exists in the schema associated with that class of object. The schema defines the structure and attributes of objects within a directory service.

Usage Context

This error typically arises during operations involving object creation, modification, or deletion in Active Directory. It can occur when using tools like dsadd, adsiedit.msc, or other APIs that interact with the directory service schema.

Developer Interpretation

Developers should ensure that any class of objects being added to a directory service has an RDN defined in its schema. This error suggests that there is a mismatch between the object being created and the available schema definitions. Developers must verify the schema for the specific class before performing operations that add or modify objects.

Related Errors

  • ERROR_DS_DN_SYNTAX_VIOLATION (1968, 0x7C4): Indicates a syntax error in the DN of an object.
  • ERROR_DS_OBJECT_CLASS_VIOLATION (1532, 0x604): Suggests that the object being created or modified does not match its class definition.

FAQ

Q: What causes this error?

A: This error occurs when an attempt is made to add an object of a class that lacks an RDN in its schema. Ensure that all classes used have valid and defined RDNs before performing operations.

Q: How can I resolve this issue?

A: Verify the schema for the specific class being used, ensuring that it includes a properly defined RDN. Correct any discrepancies and retry the operation.

Summary

The ERROR_DS_NO_RDN_DEFINED_IN_SCHEMA error indicates a mismatch between an object's class definition and its required RDN in Active Directory or similar directory services. Developers should ensure schema compliance to avoid this issue.