[Dovecot] Bug: auth_cache breaks master password feature

Chris Wakelin c.d.wakelin at reading.ac.uk
Thu Oct 5 10:28:11 UTC 2006


Bill Boebel wrote:
> When you set auth_cache_size to a value greater than zero, it breaks
> the master password feature in Dovecot.  It appears that during a
> cache hit, Dovecot attempts to query the userdb for use the master
> user's home directory and other settings, rather than querying for
> the userdb settings of the user that the master was trying to log in
> for... causing the login to fail.
> 
> Perhaps caching the userdb settings in addition to the passdb
> settings (since that is on the TODO list) would indirectly fix this
> problem.
> 
> Bill
> 

Yes, I think I came to that conclusion too. It possibly also breaks
proxying, or maybe only when you have more than one passdb defined. Hmm
more testing required ...

Chris

-- 
--+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+-
Christopher Wakelin,                           c.d.wakelin at reading.ac.uk
IT Services Centre, The University of Reading,  Tel: +44 (0)118 378 8439
Whiteknights, Reading, RG6 2AF, UK              Fax: +44 (0)118 975 3094


More information about the dovecot mailing list