# Security after installing Xpack

**URL:** <https://discuss.elastic.co/t/security-after-installing-xpack/102554>\
**Category:** Elasticsearch\
**Created:** [October 3, 2017, 12:01pm UTC](https://discuss.elastic.co/t/security-after-installing-xpack/102554 "2017-10-03T12:01:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Naveedyousaf03](https://avatars.discourse-cdn.com/v4/letter/n/e0b2c6/32.png) [@Naveedyousaf03](https://discuss.elastic.co/u/Naveedyousaf03)\
**Post date:** [October 3, 2017, 12:01pm UTC](https://discuss.elastic.co/t/security-after-installing-xpack/102554/1 "2017-10-03T12:01:58Z")

</div>

I have installed Xpack and followed all the steps mentioned in the document [here](https://www.elastic.co/guide/en/x-pack/5.4/active-directory-realm.html)  
but when i run `http://localhost:9200/_cat/indices?v` it asks for credentials but my NTLogin or CORP domain credentials are not working the elasticsearch.yml file configuration is as

```
 xpack:
  security:
    authc:
      realms:
        active_directory:
          type: active_directory
          order: 0
          enabled : true
          domain_name: domainname
          url: ldaps://subdomain-name-for adfs

```

Let me know what is wrong in it and why NTLogin Credentials are not working

---

<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:** [October 6, 2017, 6:08am UTC](https://discuss.elastic.co/t/security-after-installing-xpack/102554/2 "2017-10-06T06:08:49Z")

</div>

It is difficult to provide anything specific with such limited (and redacted) information.

Any number of things could be wrong, from an incorrect configuration, to network issues, to an incorrect username.

I suggest that you start by checking the elasticsearch logs for errors. There's a reasonable chance something is being reported there.

Alternatively you can try turning on `DEBUG` logging by following the instructions [in the LDAP troubleshooting guide](https://www.elastic.co/guide/en/x-pack/5.5/security-troubleshooting.html#_ldap). That may provide more information.

---

<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 3, 2017, 6:09am UTC](https://discuss.elastic.co/t/security-after-installing-xpack/102554/3 "2017-11-03T06:09:05Z")

</div>

Closed on November 3, 2017, 6:09am UTC

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