What does Windows error code 8351 (ERROR_DS_NAME_TYPE_UNKNOWN) mean?

 
Previous Next
ERROR_DS_NAME_UNPARSEABLE ERROR_DS_NOT_AN_OBJECT

ERROR_DS_NAME_TYPE_UNKNOWN

A naming component uses an unknown attribute type

Each attribute type in an LDAP distinguished name must be recognizable by the directory schema or accepted numeric object identifier form. The RDN text before the equals sign is not an arbitrary label. If the server cannot map that name to an attribute type, it cannot interpret the distinguished name correctly.

Inspect every attribute type in the parsed RDN sequence and compare it with the schema lDAPDisplayName or OID expected by the target directory. This is especially important for code that imports DNs from another LDAP implementation with vendor-specific attribute names. Changing the RDN value does not fix an unknown attribute type.

What to inspect

  • Parse the DN and list the attribute type used by every AVA.
  • Check the Active Directory schema for the exact lDAPDisplayName or OID.
  • Avoid translating external directory DNs by simple string substitution.

References


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