How to obtain user manager from LDAP


I’m using Active Directory as LDAP implementation. The integration works fine. The only thing is I’m trying to obtain the “manager” attribute from LDAP user and store it in Camunda LdapUserEntity/UserEntity. The manager attribute is not present on LDAPUserEntity/UserEntity.

One way to do it is to map the manager attribute from LDAP to an attribute you are not using from LDAPUserEntity but is not nice and might have unexpected side effects.

Which is the recommended way of obtaining and storing the manager attribute from LDAP?