修复
This commit is contained in:
parent
2a5c6a4d9e
commit
833f0ffcf5
|
@ -74,6 +74,7 @@ func (l *CreateLdapUserLogic) CreateLdapUser(req *types.CreateLdapUserReq, useri
|
|||
"shadowWarning": {"7"}, //固有属性
|
||||
"loginShell": {"/usr/sbin/nologin"}, //固有属性
|
||||
"homeDirectory": {"/home/users/" + userNamePinyin},
|
||||
"employeeType": {"1"}, //1正式 2实习 3外包
|
||||
"uidNumber": {fmt.Sprintf("%d", userData.Id)},
|
||||
"gidNumber": {fmt.Sprintf("%d", userData.Id)},
|
||||
"uid": {userNamePinyin},
|
||||
|
|
Loading…
Reference in New Issue
Block a user