# AD Integration settings not getting saved

**URL:** <https://community.graylog.org/t/ad-integration-settings-not-getting-saved/1869>\
**Category:** Graylog Central (peer support)\
**Created:** [July 28, 2017, 2:02pm UTC](https://community.graylog.org/t/ad-integration-settings-not-getting-saved/1869 "2017-07-28T14:02:32Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![neeraj](https://avatars.discourse-cdn.com/v4/letter/n/e47c2d/32.png) [@neeraj](https://community.graylog.org/u/neeraj)\
**Post date:** [July 28, 2017, 2:02pm UTC](https://community.graylog.org/t/ad-integration-settings-not-getting-saved/1869/1 "2017-07-28T14:02:33Z")

</div>

Hello, I am trying to configure LDAP/AD Integration with our AD server. I am logged in to my Graylog UI as the admin account. I am noticing a weird issue that whatever LDAP/AD settings i configure under “Authentication \>\> LDAP\Active Directory” page, do not get saved even though i ensure to save the changes. Its like every time i configure the AD settings , click on the “SAVE settings” button, i get a message in green saying “LDAP Settings saved successfully” and then when i refresh the page or come back to this page again, its blank as if nothing has been configured. Is this is bug ?  
I am on the latest version of Graylog

---

<div class="post-metadata">

**Author:** ![jochen](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jochen/32/8_2.png) [@jochen](https://community.graylog.org/u/jochen)\
**Post date:** [July 28, 2017, 2:24pm UTC](https://community.graylog.org/t/ad-integration-settings-not-getting-saved/1869/2 "2017-07-28T14:24:37Z")

</div>

Are you using a Graylog cluster or a single Graylog node?  
Are there any warning or error messages in the logs of your Graylog node(s) or in the Developer Console of your web browser?

- [http://docs.graylog.org/en/2.3/pages/configuration/file\_location.html](http://docs.graylog.org/en/2.3/pages/configuration/file_location.html)
- [Chrome DevTools &nbsp;|&nbsp; Chrome for Developers](https://developers.google.com/web/tools/chrome-devtools/console/)
- [Web Console UI Tour — Firefox Source Docs documentation](https://developer.mozilla.org/docs/Tools/Web_Console/Opening_the_Web_Console)
- [Using the F12 Tools Console to View Errors and Status (Windows) | Microsoft Learn](https://msdn.microsoft.com/library/gg589530(v=vs.85).aspx)

What’s the content of the `ldap_settings` collection in MongoDB?

> [@neeraj](#):
>
> I am on the latest version of Graylog

Which version is this, exactly?

---

<div class="post-metadata">

**Author:** ![neeraj](https://avatars.discourse-cdn.com/v4/letter/n/e47c2d/32.png) [@neeraj](https://community.graylog.org/u/neeraj)\
**Post date:** [July 28, 2017, 2:43pm UTC](https://community.graylog.org/t/ad-integration-settings-not-getting-saved/1869/3 "2017-07-28T14:43:13Z")

</div>

Hello Jochen, I have a single Graylog node. I tried to replicate it again by entering all the AD information and clicked the “SAVE LDAP Settings” button. While doing so , i had a putty session open to my graylog server & was monitoring the graylog server logs by running this command _"/var/log/graylog/server# tail -f @40000000597b451730c72114.u_ . This file didn’t have any new entries logged. I also had a chrome dev console opened up as you suggested. The dev console shows some Error messages in RED that were already there before i clicked on the “SAVE LDAP Settings” button. Upon clicking the button, there weren’t any new messages in the dev console.

If you need to do a webex let me know.

---

<div class="post-metadata">

**Author:** ![neeraj](https://avatars.discourse-cdn.com/v4/letter/n/e47c2d/32.png) [@neeraj](https://community.graylog.org/u/neeraj)\
**Post date:** [July 28, 2017, 2:49pm UTC](https://community.graylog.org/t/ad-integration-settings-not-getting-saved/1869/4 "2017-07-28T14:49:13Z")

</div>

Gochen, I am on version 2.3.0

Also, i just found something interesting in the server logs. Under /var/log/graylog/server/current file , it has logged in below messages. I am assuming this is because i kept re-trying the AD integration setup multiple times from the Web UI because it didn’t save the changes so now the database within is complaining about 5 AD configurations.

.1.6%INFO [CodecFactoryUtil] Registered pre-bundled extended operation factory: 1.3.6.1.4.1.18060.0.1.5%INFO [CodecFactoryUtil] Registered pre-bundled extended operation factory: 1.3.6.1.4.1.4203.1.11.1%INFO [CodecFactoryUtil] Registered pre-bundled extended operation factory: 1.3.6.1.4.1.4203.1.11.3%INFO [CodecFactoryUtil] Registered pre-bundled extended operation factory: 1.3.6.1.4.1.1466.20037%ERROR [LdapSettingsServiceImpl] Graylog does not yet support multiple LDAP backends, but 3 configurations were found. This is a bug, ignoring LDAP config.%ERROR [LdapSettingsImpl] Unable to load role mapping%ERROR [LdapSettingsServiceImpl] Graylog does not yet support multiple LDAP backends, but 4 configurations were found. This is a bug, ignoring LDAP config.%ERROR [LdapSettingsServiceImpl] Graylog does not yet support multiple LDAP backends, but 4 configurations were found. This is a bug, ignoring LDAP config.%INFO [SessionsResource] Invalid username or password for user “shahn”%ERROR [LdapSettingsServiceImpl] Graylog does not yet support multiple LDAP backends, but 4 configurations were found. This is a bug, ignoring LDAP config.%INFO [SessionsResource] Invalid username or password for user “shahn@lan.lab”%ERROR [LdapSettingsServiceImpl] Graylog does not yet support multiple LDAP backends, but 4 configurations were found. This is a bug, ignoring LDAP config.%INFO [SessionsResource] Invalid username or password for user “shahn@lan.lab”%ERROR [LdapSettingsServiceImpl] Graylog does not yet support multiple LDAP backends, but 4 configurations were found. This is a bug, ignoring LDAP config.%INFO [SessionsResource] Invalid username or password for user “LAN\shahn”%ERROR [LdapSettingsServiceImpl] Graylog does not yet support multiple LDAP backends, but 4 configurations were found. This is a bug, ignoring LDAP config.%ERROR [LdapSettingsServiceImpl] Graylog does not yet support multiple LDAP backends, but 4 configurations were found. **This is a bug, ignoring LDAP config.%ERROR [LdapSettingsServiceImpl] Graylog does not yet support multiple LDAP backends, but 4 configurations were found. This is a bug, ignoring LDAP config.%ERROR [LdapSettingsImpl] Unable to load role mapping%ERROR [LdapSettingsServiceImpl] Graylog does not yet support multiple LDAP backends, but 5 configurations were found.**

---

<div class="post-metadata">

**Author:** ![jochen](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jochen/32/8_2.png) [@jochen](https://community.graylog.org/u/jochen)\
**Post date:** [July 28, 2017, 3:11pm UTC](https://community.graylog.org/t/ad-integration-settings-not-getting-saved/1869/5 "2017-07-28T15:11:33Z")

</div>

Try deleting the `ldap_settings` collection in MongoDB and then enter the LDAP/AD settings again in the Graylog web interface.

```auto
$ mongo
MongoDB shell version v3.4.6
connecting to: mongodb://127.0.0.1:27017
MongoDB server version: 3.4.6
> use graylog
switched to db graylog
> db.ldap_settings.drop()
true
> exit
bye

```

This is related to the following bug:

> <https://github.com/Graylog2/graylog2-server/issues/3167>
>
> When i try to access to LDAP settings there is a "Loading Icon" with nothing else. Even after few seconds/minutes.
> Expected Behavior
> I...

---

<div class="post-metadata">

**Author:** ![neeraj](https://avatars.discourse-cdn.com/v4/letter/n/e47c2d/32.png) [@neeraj](https://community.graylog.org/u/neeraj)\
**Post date:** [July 28, 2017, 3:31pm UTC](https://community.graylog.org/t/ad-integration-settings-not-getting-saved/1869/6 "2017-07-28T15:31:44Z")

</div>

Gochen,  
Thanks that did it, i had to install the mongodb-clients package to be able to run the mongo command. After dropping the ldap settings , i am now able to save the configuration in the Web Interface successfully. Thank you very much.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/3X/c/7/c7c09c6b5099570133d6502b83f50ba4430de5b6.png) [@system](https://community.graylog.org/u/system)\
**Post date:** [August 11, 2017, 3:32pm UTC](https://community.graylog.org/t/ad-integration-settings-not-getting-saved/1869/7 "2017-08-11T15:32:03Z")

</div>

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