# SOLVED: ES using AD Authentication crashes when logged in through Kibana

**URL:** <https://discuss.elastic.co/t/solved-es-using-ad-authentication-crashes-when-logged-in-through-kibana/68733>\
**Category:** Elasticsearch\
**Created:** [December 12, 2016, 4:07pm UTC](https://discuss.elastic.co/t/solved-es-using-ad-authentication-crashes-when-logged-in-through-kibana/68733 "2016-12-12T16:07:51Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Terence\_Earl\_Michael](https://avatars.discourse-cdn.com/v4/letter/t/258eb7/32.png) [@Terence\_Earl\_Michael](https://discuss.elastic.co/u/Terence_Earl_Michael)\
**Post date:** [December 12, 2016, 5:15pm UTC](https://discuss.elastic.co/t/solved-es-using-ad-authentication-crashes-when-logged-in-through-kibana/68733/2 "2016-12-12T17:15:01Z")

</div>

EDIT: While writing this I found the problem: The setting unmapped\_groups\_as\_roles: true in the elasticsearch.yml caused the problem. I don't know why this happened, but after setting it to false, everything works like expected.

This is the same issue as found by another user - I promise I searched for the issue in existing topics, but it was typical that the I found another thread 30 mins after posting my own (I even stole his edit - apologies and credit to nick.e [Performance Issues and timeouts with Elasticsearch](https://discuss.elastic.co/t/performance-issues-and-timeouts-with-elasticsearch/67008/2))

---

_[View the full topic](https://discuss.elastic.co/t/solved-es-using-ad-authentication-crashes-when-logged-in-through-kibana/68733)._
