The following configuration in ES 7.3 stopped working after adding the metadata
parameter:
xpack.security.authc:
realms:
file.file1:
order: 0
native.native1:
order: 1
active_directory.company_ad:
enabled: true
order: 4
domain_name: company.com
user_search:
base_dn: "DC=dir,DC=svc,DC=company,DC=com"
group_search:
base_dn: "DC=dir,DC=svc,DC=company,DC=com"
url: ldaps://dir.svc.company.com:636
ssl.verification_mode: none
bind_dn: "CN=user,OU=People,DC=dir,DC=svc,DC=company,DC=com"
unmapped_groups_as_roles: true
follow_referrals: false
cache.ttl: 36000s
metadata: ["cn", "name"]
error message:
IllegalArgumentException: unknown setting [xpack.security.authc.realms.active_directory.company_ad.metadata] please check that any required plugins are installed, or check the breaking changes documentation for removed settings
I double checked the documentation, but could not find what was wrong with the syntax. Any help is really appreciated.