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
signature.asc
Description: This is a digitally signed message part