[Dovecot] Multiple password schemes
Hi,
right now I have
default_pass_scheme = MD5-CRYPT
in my dovecot-sql-auth.conf file.
This works; however I noticed because of history a lot of my users still have a CRYPT password (not a MD5-CRYPT password). Now I get these errors:
dovecot: Feb 26 13:08:17 Info: auth-worker(default): sql(***, *******): MD5-CRYPT(0lifant) != 'i3/S6ZswGSfbk'
Any way to make Dovecot use another (fallback) password scheme when the default scheme isn't working?
Cheers,
Jan
On Tue, 2008-02-26 at 13:27 +0100, Jan van den Berg wrote:
This works; however I noticed because of history a lot of my users still have a CRYPT password (not a MD5-CRYPT password). Now I get these errors:
CRYPT and MD5-CRYPT are compatible in pretty much all operating systems. You could just make CRYPT your default password scheme and it'll work for both.
Another possibility is to prefix the passwords with {scheme} in the password database.
CRYPT and MD5-CRYPT are compatible in pretty much all operating systems. You could just make CRYPT your default password scheme and it'll work for both.
I did not know that. But it works!
Cheers,
Jan
-----Oorspronkelijk bericht----- Van: Timo Sirainen [mailto:tss@iki.fi] Verzonden: dinsdag 26 februari 2008 14:02 Aan: Jan van den Berg CC: dovecot@dovecot.org Onderwerp: Re: [Dovecot] Multiple password schemes
On Tue, 2008-02-26 at 13:27 +0100, Jan van den Berg wrote:
This works; however I noticed because of history a lot of my users still have a CRYPT password (not a MD5-CRYPT password). Now I get these errors:
CRYPT and MD5-CRYPT are compatible in pretty much all operating systems. You could just make CRYPT your default password scheme and it'll work for both.
Another possibility is to prefix the passwords with {scheme} in the password database.
participants (2)
-
Jan van den Berg
-
Timo Sirainen