# LDAP Plugin should define an \`enabled?\` function

**URL:** <https://meta.discourse.org/t/ldap-plugin-should-define-an-enabled-function/96026>\
**Category:** Support\
**Created:** [August 30, 2018, 6:22pm UTC](https://meta.discourse.org/t/ldap-plugin-should-define-an-enabled-function/96026 "2018-08-30T18:22:39Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![andy.czerwonka](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/andy.czerwonka/32/122379_2.png) [@andy.czerwonka](https://meta.discourse.org/u/andy.czerwonka)\
**Post date:** [August 30, 2018, 6:22pm UTC](https://meta.discourse.org/t/ldap-plugin-should-define-an-enabled-function/96026/1 "2018-08-30T18:22:39Z")

</div>

After the latest upgrade, people are no longer able to authenticate. I’m getting these two errors in the logs.

```
#<Class:0x00007f211bc650f0>::LDAPAuthenticator should define an `enabled?` function. Patching for now.
#<Class:0x00007f211bc650f0>::LDAPAuthenticator has not defined an enabled_setting. Defaulting to true.

```

Settings are as follows.

 ![Selection_007](https://global.discourse-cdn.com/meta/original/3X/d/7/d7e0f83501fdeab37a2f1175638ea683623e5f82.jpeg)

Does anyone have an idea a could chase?

---

<div class="post-metadata">

**Author:** ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)\
**Post date:** [August 30, 2018, 7:12pm UTC](https://meta.discourse.org/t/ldap-plugin-should-define-an-enabled-function/96026/2 "2018-08-30T19:12:24Z")

</div>

In theory those warnings shouldn’t cause the authentication to stop working. Can you link to the LDAP plugin that you are using?

---

<div class="post-metadata">

**Author:** ![andy.czerwonka](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/andy.czerwonka/32/122379_2.png) [@andy.czerwonka](https://meta.discourse.org/u/andy.czerwonka)\
**Post date:** [August 30, 2018, 7:14pm UTC](https://meta.discourse.org/t/ldap-plugin-should-define-an-enabled-function/96026/3 "2018-08-30T19:14:39Z")

</div>

Check that, we can log in just fine. Apologies for the confusion. Should I be ignoring this warning? How do we make it go away?

---

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [August 30, 2018, 7:20pm UTC](https://meta.discourse.org/t/ldap-plugin-should-define-an-enabled-function/96026/4 "2018-08-30T19:20:43Z")

</div>

Open a issue or a PR at [GitHub - jonmbake/discourse-ldap-auth: Discourse plugin to enable LDAP/Active Directory authentication. · GitHub](https://github.com/jonmbake/discourse-ldap-auth)

---

<div class="post-metadata">

**Author:** ![andy.czerwonka](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/andy.czerwonka/32/122379_2.png) [@andy.czerwonka](https://meta.discourse.org/u/andy.czerwonka)\
**Post date:** [August 31, 2018, 1:09pm UTC](https://meta.discourse.org/t/ldap-plugin-should-define-an-enabled-function/96026/5 "2018-08-31T13:09:05Z")

</div>

As requested. [warnigs about not having an `enabled_setting` defined · Issue #33 · jonmbake/discourse-ldap-auth · GitHub](https://github.com/jonmbake/discourse-ldap-auth/issues/33)

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)\
**Post date:** [April 19, 2021, 9:20am UTC](https://meta.discourse.org/t/ldap-plugin-should-define-an-enabled-function/96026/6 "2021-04-19T09:20:05Z")

</div>


