User model - fix LDAP gidNumber
This commit is contained in:
parent
0ee36dc429
commit
8b8c2e076f
@ -213,7 +213,7 @@ class User extends AuthUser {
|
|||||||
objectGuid: this.uuid,
|
objectGuid: this.uuid,
|
||||||
objectguid: this.uuid,
|
objectguid: this.uuid,
|
||||||
uidNumber: uid_number,
|
uidNumber: uid_number,
|
||||||
gidNumber: group_ids.map(x => String(x)),
|
gidNumber: await this.get_uid_number(), // group_ids.map(x => String(x)),
|
||||||
loginShell: shell,
|
loginShell: shell,
|
||||||
homeDirectory: `/home/${this.uid}@${domain}`
|
homeDirectory: `/home/${this.uid}@${domain}`
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user