From 5c4a0578b02953dfbeb55677fbaf48cf60d14f5f Mon Sep 17 00:00:00 2001 From: Peter Marschall Date: Sat, 6 Sep 2025 10:46:35 +0200 Subject: [PATCH] LDAP auth: fix _login2() by importing ldap.filter --- radicale/auth/ldap.py | 1 + 1 file changed, 1 insertion(+) diff --git a/radicale/auth/ldap.py b/radicale/auth/ldap.py index 54f29e08..a1c0ec6c 100644 --- a/radicale/auth/ldap.py +++ b/radicale/auth/ldap.py @@ -80,6 +80,7 @@ class Auth(auth.BaseAuth): except ImportError: try: import ldap + import ldap.filter self._ldap_module_version = 2 self.ldap = ldap except ImportError as e: