Hello,
I try to configure the x-pack with two groups coming from an LDAP, 1 with access in writing and another one in reading of the dashboards.
Here is the current configuration.
xpack:
security:
authc:
realms:
ldap1:
type: ldap
order: 0
url: "ldap://xxxxx.xx.xxx:xxx"
bind_dn: "cn=xxx xxx"
bind_password: xxx
user_search:
base_dn: "ou=applications,dc=xxx,dc=xxx"
files:
role_mapping: "/explproc/DEVELS1/elasticsearch/config/xpack/role_mapping.yml"
unmapped_groups_as_roles: false
native:
type: native
order: 1pilwrite:
- "cn=PIL_ADM,cn=pilotageTempsReel,ou=applications,dc=xx,dc=xx"
pilread:- "cn=CAS_MANAGER,cn=pilotageTempsReel,ou=applications,dc=xx,dc=xx"
It works when I specify the exact UID in role_mapping.yml (I have a hundred to authorize) but when I try to indicate the name of the group ldap it recognizes the identifiers but does not affect them any roles
Thank you in advance for your assistance
Mehdi