fix
This commit is contained in:
parent
b0750bdafc
commit
32152074a1
|
@ -69,8 +69,8 @@ func (l *CreateLdapUserLogic) CreateLdapUser(req *types.CreateLdapUserReq, useri
|
|||
"homeDirectory": {"/home/users/" + userNamePinyin},
|
||||
"uidNumber": {fmt.Sprintf("%d", userData.Id)},
|
||||
"gidNumber": {fmt.Sprintf("%d", userData.Id)},
|
||||
"uid": {fmt.Sprintf("%d", userData.Id)},
|
||||
"cn": {userNamePinyin},
|
||||
"uid": {userNamePinyin},
|
||||
"cn": {req.Email},
|
||||
"sn": {req.UserName},
|
||||
"mail": {req.Email},
|
||||
"postalCode": {fmt.Sprintf("%d", req.Status)},
|
||||
|
|
Loading…
Reference in New Issue
Block a user