summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2019-05-29 12:27:58 +0200
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2019-05-29 12:36:56 +0200
commit1226749ae6d024dde1efba3307345eb301c7ac91 (patch)
tree6e0155a482f03da39405d363edcc2bf3679d084f
parentb8721eb59f8afa0471f0b8a0430dca5cb4011a82 (diff)
downloadpykolab-1226749ae6d024dde1efba3307345eb301c7ac91.tar.gz
Let auth cache expire by not updating existing entries
-rw-r--r--pykolab/auth/ldap/__init__.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/pykolab/auth/ldap/__init__.py b/pykolab/auth/ldap/__init__.py
index 8400bfb..3a30621 100644
--- a/pykolab/auth/ldap/__init__.py
+++ b/pykolab/auth/ldap/__init__.py
@@ -383,8 +383,6 @@ class LDAP(pykolab.base.Base):
self._disconnect()
return False
- auth_cache.set_entry(_filter, entry_dn)
-
except ldap.NO_SUCH_OBJECT, errmsg:
log.debug(
_("Error occured, there is no such object: %r") % (