I’m attempting to configure LDAP authentication in Kibana. I’ve loaded the attached sg_config.yml
into Elasticsearch. However, when I attempt to login, I get the following error after clicking “Login”:
{"statusCode":403,"error":"Forbidden","message":"no permissions for [indices:data/read/search] and User [name=CN=username,OU=users,DC=example,DC=com, backend_roles=[], requestedTenant=null]: [security_exception] no permissions for [indices:data/read/search] and User [name=CN=username,OU=users,DC=example,DC=com, backend_roles=[], requestedTenant=null]"}
This would suggest to me that authentication is working, but authorization is not. However when I look in the GUI to check the status of LDAP authentication, it states that it’s Disabled (see screenshot).
Attached are screenshots of the “LDAP Disabled” message, sg_config.yml
, and kibana.yml
.
I’m using Elasticsearch/Kibana 7.6.2, with the corresponding version of Search Guard.
Edit
I should also note that we are using nested AD groups for authentication (i.e., we search on group-1, but users are actually members of group-2, group-3, group-4, which are in turn members of group-1).
kibana.yml (1.6 KB) sg_config.yml (6.8 KB)