次の方法で共有


4.1.4.1.8 DS_NAME_ERROR

This section enumerates the possible statuses of a translation operation.

Symbolic name

Description

0

DS_NAME_NO_ERROR

No error occurred during the name translation.

1

DS_NAME_ERROR_RESOLVING

Generic processing error during the name translation.

2

DS_NAME_ERROR_NOT_FOUND

The object with the specified name cannot be found.

3

DS_NAME_ERROR_NOT_UNIQUE

More than one object is located with the specified name.

4

DS_NAME_ERROR_NO_MAPPING

The desired output format cannot be applied to the object with the specified name.

5

DS_NAME_ERROR_DOMAIN_ONLY

Only the domain part of the name was translated.

7

DS_NAME_ERROR_TRUST_REFERRAL

The specified name belongs to a trusted forest, a referral is returned.

0xFFFFFFF2

DS_NAME_ERROR_IS_SID_HISTORY_UNKNOWN

The specified name matches a value in the sidHistory attribute of an object, but the type of the object is unknown.

0xFFFFFFF3

DS_NAME_ERROR_IS_SID_HISTORY_ALIAS

Translation was successful. The specified name matches a value in the sidHistory attribute of an object. The object's sAMAccountType attribute value is either SAM_NON_SECURITY_ALIAS_OBJECT or SAM_ALIAS_OBJECT as defined in [MS-SAMR] section 2.2.1.9, ACCOUNT_TYPE Values.

0xFFFFFFF4

DS_NAME_ERROR_IS_SID_HISTORY_GROUP

Translation was successful. The specified name matches a value in the sidHistory attribute of an object. The object's sAMAccountType attribute value is either SAM_GROUP_OBJECT or SAM_NON_SECURITY_GROUP_OBJECT as defined in [MS-SAMR] section 2.2.1.9, ACCOUNT_TYPE Values.

0xFFFFFFF5

DS_NAME_ERROR_IS_SID_HISTORY_USER

Translation was successful. The specified name matches a value in the sidHistory attribute of an object. The object's sAMAccountType attribute value is SAM_USER_OBJECT or SAM_MACHINE_ACCOUNT or SAM_TRUST_ACCOUNT as defined in [MS-SAMR] section 2.2.1.9, ACCOUNT_TYPE Values.

0xFFFFFFF6

DS_NAME_ERROR_IS_SID_UNKNOWN

The specified name matches the objectSid attribute of an object, but the type of the object is unknown.

0xFFFFFFF7

DS_NAME_ERROR_IS_SID_ALIAS

Translation was successful. The specified name matches the objectSid attribute of an object. The object's sAMAccountType attribute value is either SAM_NON_SECURITY_ALIAS_OBJECT or SAM_ALIAS_OBJECT as defined in [MS-SAMR] section 2.2.1.9, ACCOUNT_TYPE Values.

0xFFFFFFF8

DS_NAME_ERROR_IS_SID_GROUP

Translation was successful. The specified name matches the objectSid attribute of an object. The object's sAMAccountType attribute value is either SAM_GROUP_OBJECT or SAM_NON_SECURITY_GROUP_OBJECT as defined in [MS-SAMR] section 2.2.1.9, ACCOUNT_TYPE Values.

0xFFFFFFF9

DS_NAME_ERROR_IS_SID_USER

Translation was successful. The specified name matches the objectSid attribute of an object. The object's sAMAccountType attribute value is SAM_USER_OBJECT or SAM_MACHINE_ACCOUNT or SAM_TRUST_ACCOUNT as defined in [MS-SAMR] section 2.2.1.9, ACCOUNT_TYPE Values.

0xFFFFFFFA

DS_NAME_ERROR_SCHEMA_GUID_CONTROL_RIGHT

Translation was successful. The GUID identifies a control access right.

0xFFFFFFFB

DS_NAME_ERROR_SCHEMA_GUID_CLASS

Translation was successful. The GUID identifies a classSchema object.

0xFFFFFFFC

DS_NAME_ERROR_SCHEMA_GUID_ATTR_SET

Translation was successful. The GUID identifies a property set.

0xFFFFFFFD

DS_NAME_ERROR_SCHEMA_GUID_ATTR

Translation was successful. The GUID identifies an attributeSchema object.

0xFFFFFFFE

DS_NAME_ERROR_SCHEMA_GUID_NOT_FOUND

The GUID cannot be resolved.

0xFFFFFFFF

DS_NAME_ERROR_IS_FPO

The object with the specified name is a Foreign Principal Object.