Home Documentation Software Old Stuff

RFE: let users expire better (Resolved)

Request LDAP User Folder -- feature request -- by Sig
Posted on Aug 7, 2008 5:10 am

Enter your email address to receive mail on every change to this issue.

Entries (Latest first)

  Resolve by Jens Vagelpohl on Aug 27, 2008 5:17 am
  Checked in a fix:

It's only possible to remove those records from the negative cache that were created with an empty password, but that's still better than nothing.

  Initial Request by Sig on Aug 7, 2008 5:10 am
  When a change occurs in LDAP, it would be great if LDAPUserFolder's cache could be made aware of it. Otherwise it complains about the user not being present in LDAP if it is queried via a getUserById(...) which uses the internal cache.

I noticed the _expireUser method but it won't remove the user's key from the 'negative' cache. At the moment, I have to "manually" compute the negative_cache_key, access the _cache and remove this key from it. Or maybe I am missing something...