# Update LDAP Settings

**URL:** <https://community.graylog.org/t/update-ldap-settings/5604>\
**Category:** Graylog Central (peer support)\
**Created:** [June 13, 2018, 10:58pm UTC](https://community.graylog.org/t/update-ldap-settings/5604 "2018-06-13T22:58:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AaronFaby](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/aaronfaby/32/47_2.png) [@AaronFaby](https://community.graylog.org/u/AaronFaby)\
**Post date:** [June 13, 2018, 10:58pm UTC](https://community.graylog.org/t/update-ldap-settings/5604/1 "2018-06-13T22:58:05Z")

</div>

Hey guys,

So I changed the OU in the LDAP settings and can no longer get in to the interface. Also, the hard coded admin login does not seem to let me in either.

How can I easily update the LDAP OU in the Mongo DB to fix this? I’m not a mongo user so I would need to know the syntax.

Thanks!

---

<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:** [June 14, 2018, 5:59am UTC](https://community.graylog.org/t/update-ldap-settings/5604/2 "2018-06-14T05:59:11Z")

</div>

You can try dropping the “ldap\_settings” collection in the MongoDB database, log into Graylog as administrator, and recreate the LDAP configuration in the web interface:

[https://docs.mongodb.com/manual/reference/method/db.collection.drop/](https://docs.mongodb.com/manual/reference/method/db.collection.drop/)

Make sure to stop Graylog before dropping the LDAP settings from MongoDB.

---

<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:** [June 28, 2018, 5:59am UTC](https://community.graylog.org/t/update-ldap-settings/5604/3 "2018-06-28T05:59:15Z")

</div>

Closed on June 28, 2018, 5:59am UTC

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