# Creating a user in kibana after a user is authorized by ldap

**URL:** https://discuss.elastic.co/t/creating-a-user-in-kibana-after-a-user-is-authorized-by-ldap/87131
**Category:** Kibana
**Created:** [May 25, 2017, 1:27pm UTC](https://discuss.elastic.co/t/creating-a-user-in-kibana-after-a-user-is-authorized-by-ldap/87131 "2017-05-25T13:27:41Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![hfakar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hfakar/32/18211_2.png) [@hfakar](https://discuss.elastic.co/u/hfakar)
#### Post date: [May 25, 2017, 1:27pm UTC](https://discuss.elastic.co/t/creating-a-user-in-kibana-after-a-user-is-authorized-by-ldap/87131/1 "2017-05-25T13:27:41Z")

</div>

Hello there.

I want to be able to see the usernames on kibana Management/security tab when a user logged in. Is that possible with any configuration.

Lets say an ldap user logged in to kibana for the first time with username "abcxyz", is it possible for me to see the "abcxyz" on management/security tab so I can manage the user roles from there like I do for native users?

---

<div class="post-metadata">

### Author: ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)
#### Post date: [May 25, 2017, 6:47pm UTC](https://discuss.elastic.co/t/creating-a-user-in-kibana-after-a-user-is-authorized-by-ldap/87131/2 "2017-05-25T18:47:04Z")

</div>

Hi

I'm afraid this isn't possible at the moment. However I have pinged @TimV with your question. He will be answering your q more comprehensively, it when he gets to it.

Thanks  
Rashmi

---

<div class="post-metadata">

### Author: ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)
#### Post date: [May 25, 2017, 7:01pm UTC](https://discuss.elastic.co/t/creating-a-user-in-kibana-after-a-user-is-authorized-by-ldap/87131/3 "2017-05-25T19:01:34Z")

</div>

Hi @hfakar

> [@](#):
>
> I want to be able to see the usernames on kibana Management/security tab when a user logged in.

You can use the [auditing features](https://www.elastic.co/guide/en/x-pack/current/auditing.html) of Elasticsearch X-Pack to track when users log in, but I do not believe there is a builtin feature in Kibana to view those logs.  
If you write your audit to an ES index, then you can create a Kibana dashboard on top of the login events, which would give you something like what you want, but you'd need to do that yourself.

> [@](#):
>
> so I can manage the user roles from there like I do for native users?

It is not currently possible to manage the roles for an LDAP user from within Kibana. [Role management for LDAP users](https://www.elastic.co/guide/en/x-pack/current/mapping-roles.html) is quite different than with the [native users](https://www.elastic.co/guide/en/x-pack/current/native-realm.html) that are currently exposed in Kibana.

We hope to provide a UI for mapping LDAP users to roles at some point in the future, but it's not there now.

---

<div class="post-metadata">

### Author: ![hfakar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hfakar/32/18211_2.png) [@hfakar](https://discuss.elastic.co/u/hfakar)
#### Post date: [May 26, 2017, 12:22pm UTC](https://discuss.elastic.co/t/creating-a-user-in-kibana-after-a-user-is-authorized-by-ldap/87131/4 "2017-05-26T12:22:50Z")

</div>

Thank you for satısfying answers. I guess we are gonna have to wait for the automation. With your answer our team realized that they are going to have to hardcode at least a houndred usernames to roles because LDAP groups doesnt solve our problem. I guess weare going to have to wait a little bit longer.

---

<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: [June 23, 2017, 12:23pm UTC](https://discuss.elastic.co/t/creating-a-user-in-kibana-after-a-user-is-authorized-by-ldap/87131/5 "2017-06-23T12:23:05Z")

</div>

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