# Kibana integration with Active directory

**URL:** <https://discuss.elastic.co/t/kibana-integration-with-active-directory/162648>\
**Category:** Kibana\
**Created:** [January 2, 2019, 12:16pm UTC](https://discuss.elastic.co/t/kibana-integration-with-active-directory/162648 "2019-01-02T12:16:50Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![DineshTripathi](https://avatars.discourse-cdn.com/v4/letter/d/ce7236/32.png) [@DineshTripathi](https://discuss.elastic.co/u/DineshTripathi)\
**Post date:** [January 2, 2019, 12:16pm UTC](https://discuss.elastic.co/t/kibana-integration-with-active-directory/162648/1 "2019-01-02T12:16:50Z")

</div>

I need to integrate MS AD with Kibana only and not with other products. After integration i will map the AD group and/or users to available x-pack roles.

Now, while going through the doc "[https://www.elastic.co/guide/en/x-pack/current/active-directory-realm.html](https://www.elastic.co/guide/en/x-pack/current/active-directory-realm.html)" it talks about changes in elasticsearch.yml file, Are these correct steps or we have specific doc to integrate kibana with microsoft AD?

---

<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:** [January 2, 2019, 12:20pm UTC](https://discuss.elastic.co/t/kibana-integration-with-active-directory/162648/2 "2019-01-02T12:20:31Z")

</div>

Authentication is handled by Elasticsearch, so that sounds correct.

---

<div class="post-metadata">

**Author:** ![DineshTripathi](https://avatars.discourse-cdn.com/v4/letter/d/ce7236/32.png) [@DineshTripathi](https://discuss.elastic.co/u/DineshTripathi)\
**Post date:** [January 2, 2019, 12:22pm UTC](https://discuss.elastic.co/t/kibana-integration-with-active-directory/162648/3 "2019-01-02T12:22:08Z")

</div>

Thanks @Christian_Dahlqvist. so that means i can keep local id's e.g. elastic, beats\_System etc for internal rest call auth. and have AD users for Kibana access?

I will run through those steps and try to complete this.

---

<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:** [January 2, 2019, 12:25pm UTC](https://discuss.elastic.co/t/kibana-integration-with-active-directory/162648/4 "2019-01-02T12:25:22Z")

</div>

You can use [multiple realms](https://www.elastic.co/guide/en/elastic-stack-overview/current/realm-chains.html).

---

<div class="post-metadata">

**Author:** ![DineshTripathi](https://avatars.discourse-cdn.com/v4/letter/d/ce7236/32.png) [@DineshTripathi](https://discuss.elastic.co/u/DineshTripathi)\
**Post date:** [January 2, 2019, 12:58pm UTC](https://discuss.elastic.co/t/kibana-integration-with-active-directory/162648/5 "2019-01-02T12:58:51Z")

</div>

Thanks @Christian_Dahlqvist, so in this case there will be chance of lockout i see in documentation which is agreed.

What is the best practises in this case to define the order? let say i am using native and AD, Does this make sense to use first as native and second ad?  
Also, what is the lockout period for local user's? Can i set the lockout period for local users?

---

<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:** [January 30, 2019, 12:58pm UTC](https://discuss.elastic.co/t/kibana-integration-with-active-directory/162648/6 "2019-01-30T12:58:51Z")

</div>

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