2016-11-29 109 views
-1

我能够在LDAP中创建用户,但在禁用模式下创建用户。当尝试启用并将密码设为Never Expire时出现此错误。 LDAP:错误代码53 - 0000052D:SvcErr:DSID-031A11E5,问题5003在LDAP中添加用户

回答

0

此错误代码非常特定于Active Directory,并指示“不愿意执行”。如果连接由证书保护,您只能设置密码。

0

诊断消息的十六进制值0000052D与系统错误代码有关。具体做法是:

ERROR_PASSWORD_RESTRICTION

1325 (0x52D) 

Unable to update the password. The value provided for the new password 
does not meet the length, complexity, or history requirements of the domain. 

要么你试图设置用户帐户不符合密码策略的要求,或者你没有正确编码它的密码(unicodePwd必须是UTF- 16LE)。