LDAP integration with elk

Hi Experts,

I am trying to integrate LDAP with ELK stack.

I have modified below script in elasticsearch.yml 

xpack.security.enabled: true
xpack:
  security:
    authc:
      realms:
        ldap:
          ldap1:
            order: 0
            url: "ldap://url"
            bind_dn: "cn=dedicated_user,cn=Users,dc=company_name,dc=com"
            user_search:
              base_dn: "dc=company_name,dc=com"
              filter: "(cn={0})"
            group_search:
              base_dn: "dc=Company_name,dc=com"
            files:          
              role_mapping: "role_mapping.yml"
            unmapped_groups_as_roles: false

#vi role_mapping.yml

superuser:
  - "cn=dedicated_user,cn=Users,dc=Company_name,dc=com"


/usr/share/elasticsearch/bin/elasticsearch-keystore add xpack.security.authc.realms.ldap.ldap1.secure_bind_password

Am getting below error from elasticsearch log         
[INFO ][o.e.x.s.a.AuthenticationService] [ip-xxxxxx] Authentication of [elastic] was terminated by realm [reserved] - failed to authenticate user [elastic] 

Can anyone help how to access kibana dashboard with ldap user          

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