[Dovecot] multiple password schemes and sql?

Timo Sirainen tss at iki.fi
Wed Aug 27 10:14:48 EEST 2008


On Wed, 2008-08-27 at 14:58 +0800, R A wrote:
> Hi again.
> 
> Ok, tested now with 1.1.2 and also a nightly build with 1.2-UNSTABLE to
> make sure it isnt too old.
> 
> password query to talk to database in dovecot-sql.conf is:
> 
> password_query = SELECT id as user, passwd as password FROM passwds
> WHERE id = '%u' AND model = '%m'
> 
> This constantly fails and %m is always empty according to sql logs.
> auth-worker is given the information about mechanism, so seems like the
> %m just isnt used?

Actually the problem was that auth-worker didn't know about the
mechanism. This should fix it:
http://hg.dovecot.org/dovecot-1.1/rev/3fcfe8d316b6

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20080827/a0798317/attachment.bin 


More information about the dovecot mailing list