Bill Boebel
2006-Oct-05 02:36 UTC
[Dovecot] Bug: auth_cache breaks master password feature
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
Chris Wakelin
2006-Oct-05 07:28 UTC
[Dovecot] Bug: auth_cache breaks master password feature
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