Applying a role to domain users

v 2.8.0

Hello! I can’t figure out how to apply the administrator role to some domain users?
I need to do this without using roles on the domain server, but configure it locally on opensearch
i want to apply admin role to 3 people with specific cn
what settings need to be changed in roles_mapping.yml\config.yml file
thanks

Hi @maxim

Do you want to use LDAP authentication for them?

yeah, and after applying the admin role

Instead of backend_role in roles_mapping.yml, you should use a username.

You can find the example below: