I have trouble writing LDAP role_mapping.yml.
I want to map users who are members of both 'elk-users' and 'team-core' groups to an elastic role. I did it through API and Lucene language using the 'all' keyword but cannot translate it to YAML file.
this is my role_mapping file contents:
superuser: - cn=elk-admins,dc=yektanet,dc=tech test_role: - cn=elk-users,cn=team-core,dc=yektanet,dc=tech
the superuser role mapping works well but the second mapping always fails (no roles for a user with both elk-users and team-core group membership).
I would be grateful if someone helps me through this.