negative auth cache?

Reindl Harald h.reindl at thelounge.net
Fri Sep 19 00:34:34 UTC 2014



Am 19.09.2014 um 02:09 schrieb Will Yardley:
> I am using Dovecot 2.2.13, which doesn't yet seem to have the
> $auth_cache_negative parameter. Should the negative cache value honor
> $auth_cache_ttl then?
> 
> I had a problem where some of our ldap systems were reinitialized. Some
> users, presumably those who tried to login while their records were
> returning a failure, became unable to login after the records were once
> again returning normally.
> 
> I currently have:
> auth_cache_size = 5 M
> auth_cache_ttl = 5 mins
> # Not yet implemented
> #auth_cache_negative = 2 mins
> 
> yet the problem seemed to persist for more than an hour.
> 
> Also, how can I flush the cache for a non-default instance's cache using
> doveadm -- "doveadm auth cache flush" doesn't seem to have an '-a'
> option AFAICT.
> 
> # doveadm auth
> usage: doveadm [-Dv] [-f <formatter>] auth <command> [<args>]
>   cache        flush

just hard restart dovecot

the auth cache is not persistent

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://dovecot.org/pipermail/dovecot/attachments/20140919/a00e70dd/attachment-0001.sig>


More information about the dovecot mailing list