[Dovecot] Disabling auth caching just from one passdb

Timo Sirainen tss at iki.fi
Mon Feb 11 03:31:33 EET 2013


On Fri, 2013-02-08 at 08:29 +0100, Angel L. Mateo wrote:
> Hello,
> 
> 	I'm using various password databases (one of them is a ldap database, 
> which is the used for users connecting with email clients, and the other 
> with pam, using a pam module integrated with our SSO that is used from 
> our webmail). I would like to disable password caching in my pam 
> database (because 'passwords' provided by our SSO are single use tokens, 
> so caching them has no benefit), but not in the ldap.
> 
> 	As far as I know, auth_cache_size is the option to enable caching in 
> all databases. But, is there any option I could use to disable it in a 
> specific password database?

Not without patching the code. Maybe some day in future some auth
settings could be overridden within passdb{} and userdb{}, but this
isn't that easy to implement. But that is needed in any case in future
to provide namespace { imapc_* } settings.





More information about the dovecot mailing list