2013-10-18 108 views
0

我在ldif文件中使用此設置密碼。如何設置Ldap用戶帳戶的密碼?

dn:cn=krisv,ou=People,dc=jbpm,dc=org 
changetype:modify 
replace:unicodePwd 
unicodePwd:Krisv 
- 

這是日誌

Connecting to "localhost:389" 
Logging in as current user using SSPI 
Importing directory from file "MS-Sample.LDF" 

Loading entries 
1: cn=krisv,ou=People,dc=jbpm,dc=org 
Entry DN: cn=krisv,ou=People,dc=jbpm,dc=org 
changetype: modify 
Attribute 0) unicodePwd:IgA3ACQANQBNAHMAIwA0AEQAaQBHACIA 

Add error on entry starting on line 2: Constraint Violation 
The server side error is: 0x52c Unable to update the password. The value provided for the new password contains values that are not allowed in passwords. 

The extended server error is: 
0000052C: AtrErr: DSID-033805E9, #1: 
0: 0000052C: DSID-033805E9, problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 9005a (unicodePwd) 
0 entries modified successfully. 
An error has occurred in the program 

回答

0

我建議使用Apache目錄Studio管理LDAP目錄。它應該有助於避免這種問題。

相關問題