# Authentication of Kibana 6.4.2 with Active directory realm with x-pack

**URL:** <https://discuss.elastic.co/t/authentication-of-kibana-6-4-2-with-active-directory-realm-with-x-pack/161048>\
**Category:** Kibana\
**Tags:** elastic-stack-security\
**Created:** [December 16, 2018, 6:25pm UTC](https://discuss.elastic.co/t/authentication-of-kibana-6-4-2-with-active-directory-realm-with-x-pack/161048 "2018-12-16T18:25:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kommineni24](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kommineni24/32/117038_2.png) [@kommineni24](https://discuss.elastic.co/u/kommineni24)\
**Post date:** [December 16, 2018, 6:25pm UTC](https://discuss.elastic.co/t/authentication-of-kibana-6-4-2-with-active-directory-realm-with-x-pack/161048/1 "2018-12-16T18:25:14Z")

</div>

Hello Team,

Able to setup authentication by using active directory realm and able to login using the credentials. But after logging in seeing below error. Have configured rolemapping and assigned as super user.

```
 ' Config: Request failed with status code: 403

```

Error: Request failed with status code: 403  
at \_callee$ ([http://xxxxxxxxxx.com/bundles/commons.bundle.js:3:878828](http://xxxxxxxxxx.com/bundles/commons.bundle.js:3:878828))  
at tryCatch ([http://xxxxxxxxxxx.com/bundles/vendors.bundle.js:43:602785](http://xxxxxxxxxxx.com/bundles/vendors.bundle.js:43:602785))  
at Generator.invoke [as \_invoke] ([http://xxxxxxxx.com/bundles/vendors.bundle.js:43:606667](http://xxxxxxxx.com/bundles/vendors.bundle.js:43:606667))  
at Generator.prototype.(anonymous function) [as next] ([http://xxxxxxxxxx.com/bundles/vendors.bundle.js:43:603908](http://xxxxxxxxxx.com/bundles/vendors.bundle.js:43:603908))  
at step ([http://xxxxxxxxxx.com/bundles/commons.bundle.js:3:879600](http://xxxxxxxxxx.com/bundles/commons.bundle.js:3:879600))  
at [http://xxxxxxxxxx.com/bundles/commons.bundle.js:3:879726`](http://xxxxxxxxxx.com/bundles/commons.bundle.js:3:879726%60)

---

<div class="post-metadata">

**Author:** ![ikakavas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ikakavas/32/34430_2.png) [@ikakavas](https://discuss.elastic.co/u/ikakavas)\
**Post date:** [December 19, 2018, 3:58pm UTC](https://discuss.elastic.co/t/authentication-of-kibana-6-4-2-with-active-directory-realm-with-x-pack/161048/2 "2018-12-19T15:58:45Z")

</div>

Please don't post unformatted logs as they're very hard to read.

Instead paste the text and format it with \</\> icon, and check the preview  
window to make sure it's properly formatted before posting it. This makes it  
more likely that your question will receive a useful answer.

It would be great if you could update your post to solve this.

---

<div class="post-metadata">

**Author:** ![ikakavas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ikakavas/32/34430_2.png) [@ikakavas](https://discuss.elastic.co/u/ikakavas)\
**Post date:** [December 19, 2018, 4:00pm UTC](https://discuss.elastic.co/t/authentication-of-kibana-6-4-2-with-active-directory-realm-with-x-pack/161048/3 "2018-12-19T16:00:00Z")

</div>

Can you share a larger part of the kibana logs and the relevant part of the Elasticsearch logs when that happens?

---

<div class="post-metadata">

**Author:** ![kommineni24](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kommineni24/32/117038_2.png) [@kommineni24](https://discuss.elastic.co/u/kommineni24)\
**Post date:** [December 19, 2018, 6:55pm UTC](https://discuss.elastic.co/t/authentication-of-kibana-6-4-2-with-active-directory-realm-with-x-pack/161048/4 "2018-12-19T18:55:15Z")

</div>

No issues. Thanks. There is problem with my role mapping file and able to fix it.

---

<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 16, 2019, 6:55pm UTC](https://discuss.elastic.co/t/authentication-of-kibana-6-4-2-with-active-directory-realm-with-x-pack/161048/5 "2019-01-16T18:55:18Z")

</div>

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