add person class to user

This commit is contained in:
Garrett Mills 2020-08-20 08:07:47 -05:00
parent 136eac372c
commit 371b53ff4e
Signed by: garrettmills
GPG Key ID: D2BF5FBA8298F246

View File

@ -164,7 +164,7 @@ class User extends AuthUser {
sn: this.last_name, sn: this.last_name,
gecos: `${this.first_name} ${this.last_name}`, gecos: `${this.first_name} ${this.last_name}`,
mail: this.email, mail: this.email,
objectClass: 'inetOrgPerson', objectClass: ['inetOrgPerson', 'person'],
} }
if ( this.tagline ) ldap_data.extras_tagline = this.tagline if ( this.tagline ) ldap_data.extras_tagline = this.tagline