# Not able to login in kibana

**URL:** https://discuss.elastic.co/t/not-able-to-login-in-kibana/103469
**Category:** Kibana
**Created:** [October 11, 2017, 5:29am UTC](https://discuss.elastic.co/t/not-able-to-login-in-kibana/103469 "2017-10-11T05:29:56Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![ajit](https://avatars.discourse-cdn.com/v4/letter/a/a3d4f5/32.png) [@ajit](https://discuss.elastic.co/u/ajit)
#### Post date: [October 11, 2017, 5:29am UTC](https://discuss.elastic.co/t/not-able-to-login-in-kibana/103469/1 "2017-10-11T05:29:56Z")

</div>

I have implemented x pack security and LDAP integration. But when I create user in kibana that user is not getting logged in to kibana. Please share suggestions.  
Below is my configuration in elasticsearch.yml

xpack:  
security:  
authc:  
realms:  
ldap1:  
type: ldap  
order: 0  
url: "ldap://host:389"  
bind\_dn: "CN=c-ajitb,DC=ad,DC=example,DC=com"  
bind\_password: password  
user\_search:  
base\_dn: "dc=ad,dc=example,dc=com"  
attribute: cn  
group\_search:  
base\_dn: "dc=ad,dc=example,dc=com"  
files:  
role\_mapping: "/opt/elasticsearch-5.5.2/config/x-pack/role\_mapping.yml"

---

<div class="post-metadata">

### Author: ![ajit](https://avatars.discourse-cdn.com/v4/letter/a/a3d4f5/32.png) [@ajit](https://discuss.elastic.co/u/ajit)
#### Post date: [October 11, 2017, 6:35am UTC](https://discuss.elastic.co/t/not-able-to-login-in-kibana/103469/2 "2017-10-11T06:35:14Z")

</div>

With above configuration I am able to login in kibana but only LDAP users can login. Users created in kibana not getting logged in.

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [October 11, 2017, 6:39am UTC](https://discuss.elastic.co/t/not-able-to-login-in-kibana/103469/3 "2017-10-11T06:39:11Z")

</div>

Although you need to format your post properly, it looks like you may have only configured a single realm. Look in [the documentation](https://www.elastic.co/guide/en/x-pack/current/_how_authentication_works.html) for an example how to set up multiple realms.

---

<div class="post-metadata">

### Author: ![ajit](https://avatars.discourse-cdn.com/v4/letter/a/a3d4f5/32.png) [@ajit](https://discuss.elastic.co/u/ajit)
#### Post date: [October 11, 2017, 7:07am UTC](https://discuss.elastic.co/t/not-able-to-login-in-kibana/103469/4 "2017-10-11T07:07:15Z")

</div>

Thanks, Issue Resolved.

---

<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: [November 8, 2017, 7:07am UTC](https://discuss.elastic.co/t/not-able-to-login-in-kibana/103469/5 "2017-11-08T07:07:25Z")

</div>

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