# LDAP Configuration - ELK 8.8.1

**URL:** https://discuss.elastic.co/t/ldap-configuration-elk-8-8-1/350444
**Category:** Elasticsearch
**Created:** [January 5, 2024, 9:42am UTC](https://discuss.elastic.co/t/ldap-configuration-elk-8-8-1/350444 "2024-01-05T09:42:50Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Manal\_A](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/manal_a/32/123992_2.png) [@Manal\_A](https://discuss.elastic.co/u/Manal_A)
#### Post date: [January 5, 2024, 9:42am UTC](https://discuss.elastic.co/t/ldap-configuration-elk-8-8-1/350444/1 "2024-01-05T09:42:50Z")

</div>

I'm currently configuring the LDAP on my coordinator & Kibana nodes (8.8.1)  
Here are the steps I've taken:

1. Tested the connection with the LDAP server on my coordinator, and it's successful.
2. Configured my `elasticsearch.yml` and modified the `rolemapping.yml` file.  
Here's the conf i added :

```auto
xpack.security.authc.realms.ldap.ldap1:
 order: 1
 url: "ldap://X.X.X.X"
 bind_dn: "cn=X,ou=X,dc=X,dc=X,dc=X"
 bind_password: "XXXXXXX"
 user_search.base_dn: "ou=ctech,dc=zadm,dc=lab,dc=acms"
 user_search.filter: "(cn={0})"
 group_search.base_dn: "dc=X,dc=X,dc=X"
 group_search.filter: "(member={0})"
 files:
    role_mapping: "/role_mapping.yml"
 unmapped_groups_as_roles: false

```

1. Checked the Elasticsearch logs, and there are no errors.
2. In Kibana, here's the configuration I added :

```auto
elasticsearch.username: "cn=X,ou=Xdc=X,dc=X,dc=X"
elasticsearch.password: "XXXXXXXX"
xpack.security.authc.providers:
  - ldap
  - basic

```

1. Here's the error I encountered:

```auto
[elasticsearch-service] Unable to retrieve version information from Elasticsearch nodes. security_exception
 kibana[33260]: Root causes:
 kibana[33260]: security_exception: unable to authenticate user [cn=X,ou=X,dc=X,dc=X,dc=X] for REST request [/_nodes?filter_path=nodes.*.version%2C>
kibana[33260]: [2024-01-05T10:24:10.351+01:00][INFO][plugins.screenshotting.chromium] Browser executable: /usr/share/kibana/node_modules/@kbn/screenshotting-plugin/chromium/headless_s>

```

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [February 2, 2024, 9:43am UTC](https://discuss.elastic.co/t/ldap-configuration-elk-8-8-1/350444/2 "2024-02-02T09:43:38Z")

</div>

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