I have a problem with mapping my LDAP AD users to roles, Opensearch resolves my user and backend roles from AD just fine, but I can’t figure out how to map users to roles based on their backend roles in AD
This is log I get:
Rest user ‘User [name=foo, backend_roles=[bar], requestedTenant=null]’ is authenticated
And that’s all, it doesn’t allow me to enter kibana UI
Thank you very much, as soon as I got “unauthorized” it struck me that maybe I can’t connect to AD from two hosts 'cause of lack of certificates.
Well again I forgot that I was using opensearch as a service and didn’t copy security configuration and certificates to two other masters. One of them authorised the user, two other ones declined because there was no certificate to establish ssl connection to LDAP.
Note to self, always copy configuration files between hosts and while running as a service.
Thanks to your activity on this forum I decided to decline the idea of integrating keycloak, because of redirects and variables on both sides included and went for AD, works wonders.