Role and Active Directory

I make a connection to an active directory but all my users haven't access to the role "superuser" that I precise in the file role_mapping.yml like here https://www.elastic.co/guide/en/x-pack/current/active-directory-realm.html

superuser:
   - "CN=test,OU=test,OU=test,OU=test,DC=test,DC=local"

How to resolve this problem ?

There really isn't lot of information in your post to help us sort out your issue.

Start with the Authenticate API.

That will show you the roles that are being granted, and the user's metadata which will include their LDAP DN and groups.
My guess is that you are not resolving the correct groups, but unless you are able to provide more details about your issue, I can't offer anything more concrete than that.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.