# LDAP Settings - Not Saving

**URL:** <https://community.graylog.org/t/ldap-settings-not-saving/279>\
**Category:** Graylog Central (peer support)\
**Created:** [February 28, 2017, 5:30pm UTC](https://community.graylog.org/t/ldap-settings-not-saving/279 "2017-02-28T17:30:22Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![c0ffeetime](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/c0ffeetime/32/79_2.png) [@c0ffeetime](https://community.graylog.org/u/c0ffeetime)\
**Post date:** [February 28, 2017, 5:30pm UTC](https://community.graylog.org/t/ldap-settings-not-saving/279/1 "2017-02-28T17:30:22Z")

</div>

Not sure what i could be doing wrong, but every time i input my LDAP settings and hit save everything just clears out. Anyone run into this issue? I test server connection, works fine. Do a Login Test, works fine. Hit Save, settings disappear.

I tried running **sudo graylog-ctl reconfigure** after too, settings still dont appear.

Graylog version: Graylog v2.2.1+4829190

☹

---

<div class="post-metadata">

**Author:** ![jan](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jan/32/11_2.png) [@jan](https://community.graylog.org/u/jan)\
**Post date:** [March 1, 2017, 7:55am UTC](https://community.graylog.org/t/ldap-settings-not-saving/279/2 "2017-03-01T07:55:03Z")

</div>

Hej @c0ffeetime did you check what can be found in your graylog server.log ?

we have written down [where to find them](http://docs.graylog.org/en/2.2/pages/configuration/file_location.html#omnibus-package).

---

<div class="post-metadata">

**Author:** ![harryw](https://avatars.discourse-cdn.com/v4/letter/h/977dab/32.png) [@harryw](https://community.graylog.org/u/harryw)\
**Post date:** [March 2, 2017, 4:33am UTC](https://community.graylog.org/t/ldap-settings-not-saving/279/3 "2017-03-02T04:33:02Z")

</div>

I had a similar problem and had to do the following due to a corrupted LDAP entry;  
1.ssh to the primary Graylog server  
2.sudo su - root  
[3.cd](http://3.cd) /opt/graylog/mongodb  
4…/bin/mongo  
use graylog  
db.ldap\_settings.drop()  
exit  
5.graylog-ctl restart  
6.exit (out of root)

---

<div class="post-metadata">

**Author:** ![c0ffeetime](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/c0ffeetime/32/79_2.png) [@c0ffeetime](https://community.graylog.org/u/c0ffeetime)\
**Post date:** [March 2, 2017, 7:55pm UTC](https://community.graylog.org/t/ldap-settings-not-saving/279/4 "2017-03-02T19:55:41Z")

</div>

@jan , here is an error message caught in /var/log/graylog/server/

4000000058b45a8f2d64896c.u:2017-02-27\_16:44:41.14360 2017-02-27 08:44:41,143 ERROR: org.graylog2.security.ldap.LdapSettingsServiceImpl - Graylog does not yet support multiple LDAP backends, but 3 configurations were found. This is a bug, ignoring LDAP config.

@harryw, that actually worked! The LDAP settings stuck and i can login with an NT account. Now though, looks like permissions of roles aren’t sticking to the NT account. Grrr! Do i gotta do that each time i mess what ldap config? ;(

---

<div class="post-metadata">

**Author:** ![jan](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jan/32/11_2.png) [@jan](https://community.graylog.org/u/jan)\
**Post date:** [March 3, 2017, 10:47am UTC](https://community.graylog.org/t/ldap-settings-not-saving/279/5 "2017-03-03T10:47:01Z")

</div>

hej @c0ffeetime

did you notice what the Message is?

> Graylog does not yet support multiple LDAP backends, but 3 configurations were found. This is a bug, ignoring LDAP config.

Did you configure multiple Backends? If not, please open [an issue](https://github.com/Graylog2/graylog2-server/issues) giving much details about what you had done.

---

<div class="post-metadata">

**Author:** ![c0ffeetime](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/c0ffeetime/32/79_2.png) [@c0ffeetime](https://community.graylog.org/u/c0ffeetime)\
**Post date:** [March 3, 2017, 4:09pm UTC](https://community.graylog.org/t/ldap-settings-not-saving/279/6 "2017-03-03T16:09:43Z")

</div>

@jan,

I did notice that but, i don’t recall setting up multiple backends…i believe that error is a gdamn lie! i’ll open an issue. Thanks for your help!

---

<div class="post-metadata">

**Author:** ![GiorsGeks](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/giorsgeks/32/70_2.png) [@GiorsGeks](https://community.graylog.org/u/GiorsGeks)\
**Post date:** [March 7, 2017, 10:03am UTC](https://community.graylog.org/t/ldap-settings-not-saving/279/7 "2017-03-07T10:03:46Z")

</div>

type in shell:  
mongo  
use graylog  
db.ldap\_settings.remove({})
