2016-11-29 106 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)。