Schema extension errors - AWS Directory Service
AWS 文档中描述的 AWS 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅中国的 AWS 服务入门

本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。

Schema extension errors

以下内容可帮助您排查在为 AWS Managed Microsoft AD 目录扩展架构时可能遇到的一些错误消息。

Referral

错误

Add error on entry starting on line 1: Referral The server side error is: 0x202b A referral was returned from the server. The extended server error is: 0000202B: RefErr: DSID-0310082F, data 0, 1 access points \tref 1: ‘example.com’ Number of Objects Modified: 0

问题排查

确保所有可分辨名称字段都具有正确的域名。在上述示例中,DC=example,dc=com 应替换为 cmdlet DistinguishedName 显示的 Get-ADDomain.

Unable to read import file

错误

Unable to read the import file. Number of Objects Modified: 0

问题排查

导入的 LDIF 文件为空 (0 字节)。确保已上传正确的文件。

Syntax error

错误

There is a syntax error in the input file Failed on line 21. The last token starts with 'q'. Number of Objects Modified: 0

问题排查

第 21 行的文本格式不正确。The first letter of the invalid text is A. Update line 21 with valid LDIF syntax. 有关如何设置 LDIF 文件格式的更多信息,请参阅Step 1: Create your LDIF file.

Attribute or value exists

错误

Add error on entry starting on line 1: Attribute Or Value Exists The server side error is: 0x2083 The specified value already exists. The extended server error is: 00002083: AtrErr: DSID-03151830, #1: \t0: 00002083: DSID-03151830, problem 1006 (ATT_OR_VALUE_EXISTS), data 0, Att 20019 (mayContain):len 4 Number of Objects Modified: 0

问题排查

架构更改已应用。

No such attribute

错误

Add error on entry starting on line 1: No Such Attribute The server side error is: 0x2085 The attribute value cannot be removed because it is not present on the object. The extended server error is: 00002085: AtrErr: DSID-03152367, #1: \t0: 00002085: DSID-03152367, problem 1001 (NO_ATTRIBUTE_OR_VAL), data 0, Att 20019 (mayContain):len 4 Number of Objects Modified: 0

问题排查

LDIF 文件正尝试从一个类中删除属性,但该属性当前未附加到该类。可能已应用架构更改。

错误

Add error on entry starting on line 41: No Such Attribute 0x57 The parameter is incorrect. The extended server error is: 0x208d Directory object not found. The extended server error is: "00000057: LdapErr: DSID-0C090D8A, comment: Error in attribute conversion operation, data 0, v2580" Number of Objects Modified: 0

问题排查

第 41 行中列出的属性不正确。请复查拼写。

No such object

错误

Add error on entry starting on line 1: No Such Object The server side error is: 0x208d Directory object not found. The extended server error is: 0000208D: NameErr: DSID-03100238, problem 2001 (NO_OBJECT), data 0, best match of: ’CN=Schema,CN=Configuration,DC=example,DC=com’ Number of Objects Modified: 0

问题排查

可分辨名称 (DN) 引用的对象不存在。