From bcbf0918a94d3bdc11087f3b977062b2f21997cd Mon Sep 17 00:00:00 2001 From: BastelBaus <44684710+BastelBaus@users.noreply.github.com> Date: Mon, 24 Mar 2025 20:10:53 +0100 Subject: [PATCH] Update ldap.py --- radicale/auth/ldap.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/radicale/auth/ldap.py b/radicale/auth/ldap.py index be2c2fe8..7ebeef9e 100644 --- a/radicale/auth/ldap.py +++ b/radicale/auth/ldap.py @@ -65,8 +65,8 @@ class Auth(auth.BaseAuth): except ImportError as e: raise RuntimeError("LDAP authentication requires the ldap3 module") from e - self._ldap_authentik_timestamp_hack = configuration.get("auth", "ldap_authentik_timestamp_hack") - if self._ldap_authentik_timestamp_hack: + self._ldap_ignore_attribute_create_modify_timestamp = configuration.get("auth", "ldap_ignore_attribute_create_modify_timestamp") + if self._ldap_ignore_attribute_create_modify_timestamp: self.ldap3.utils.config._ATTRIBUTES_EXCLUDED_FROM_CHECK.extend(['createTimestamp','modifyTimestamp']) logger.info("auth.ldap_authentik_timestamp_hack applied")