Set multiple base_dn values in elasticsearch.yml

In my Active Directory users are contained in two different organisation units:
OU=users,OU=unit-01,DC=example,DC=com
OU=users,OU=unit-02,DC=example,DC=com

How can I set both base_dn values with condition "OR" to option:
xpack.security.authc.realms.ldap.example.user_search.base_dn:

to search for a user in unit-01 and, if the result fails, search for a user in unit-02?

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