20 Jan
2009
20 Jan
'09
10:19 p.m.
On Tue, 2009-01-20 at 21:15 +0100, Maciej Uhlig wrote:
Timo Sirainen wrote:
I've implemented it (or actually something that's a bit more generic) this far: http://dovecot.org/patches/1.2/auth-multi-password.diff
But IIRC it's still missing things and I decided it's not worth the effort right now.
I see. FYI I'd like to allow an user to authenticate for postfix: at work using PLAIN (with TLS) and at home using CRAM-MD5, while different scheme passwords are stored in LDAP directory. Would your auth-multi-password patch be enough for this purpose?
If the password is the same in both cases, you can simply use a single CRAM-MD5 scheme. Dovecot can do plaintext authentication against all schemes just fine.