From 659e95b6d590b4555628f6bd87823bf3206de95d Mon Sep 17 00:00:00 2001 From: Antoine Nguyen Date: Thu, 27 Oct 2016 19:08:58 +0200 Subject: [PATCH] Fixed wrong method call. see #951 --- modoboa/lib/ldap_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modoboa/lib/ldap_utils.py b/modoboa/lib/ldap_utils.py index 60b4b5f44..452258c42 100644 --- a/modoboa/lib/ldap_utils.py +++ b/modoboa/lib/ldap_utils.py @@ -86,7 +86,7 @@ class LDAPAuthBackend(object): def _find_user_dn(self, user): """Find the DN of the given user.""" - core_params = param_tools.get_global_parameter("core") + core_params = dict(param_tools.get_global_parameters("core")) sbase = core_params["ldap_search_base"] sfilter = core_params["ldap_search_filter"] sfilter = sfilter % {"user": user}