Add inetOrgPerson objectclass to user entries
All checks were successful
continuous-integration/drone/push Build is passing

refs #174
This commit is contained in:
2025-04-11 16:12:32 +04:00
parent b61906059c
commit b01786ffd2
2 changed files with 3 additions and 3 deletions

View File

@@ -4,7 +4,7 @@ class CreateLdapUserJob < ApplicationJob
def perform(username:, domain:, email:, hashed_pw:, confirmed: false)
dn = "cn=#{username},ou=#{domain},cn=users,dc=kosmos,dc=org"
attr = {
objectclass: ["top", "account", "person", "extensibleObject"],
objectclass: ["top", "account", "person", "inetOrgPerson", "extensibleObject"],
cn: username,
sn: username,
uid: username,