[Dovecot] Authentication using native MySQL PASSWORD() function
Timo Sirainen
tss at iki.fi
Thu Oct 27 18:57:41 EEST 2005
On Thu, 2005-10-27 at 17:52 +0200, Tom Sommer wrote:
> This doesn't seem to work, it executes:
>
> SELECT username as user, NULL as password FROM users WHERE username =
> 'test at example.com' AND password = PASSWORD('0')
>
> ... where password_query is: ...
>
> SELECT username as user, NULL as password FROM users WHERE username =
> '%u' AND password = PASSWORD('%p')
I forgot the %p part. Added %w to CVS code now which is the password.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20051027/03351018/attachment.pgp
More information about the dovecot
mailing list