[Dovecot] SSHA256 password too short
Hi all
I am upgrading a mail system. So I installed aside a new server with debian lenny dovecot 1.2 from backports , postfix 2.5, mysql 5. I recovered the database from the actual production system with a dump. But when i started testing I found this in my logs
Sep 13 09:45:07 auth-worker(default): Info: sql(user@domain.tld,127.0.0.1): Password mismatch Sep 13 09:45:07 auth-worker(default): Error: ssha256_verify(user@domain.tld): SSHA256 password too short Sep 13 09:45:07 auth-worker(default): Warning: Invalid OTP data in passdb Sep 13 09:45:07 auth-worker(default): Warning: Invalid OTP data in passdb
But the same users gets connected normally to the production system.
I use mysql as driver and my default_schema is md5
Any ideas ??
Thanks in advance
Em 13/09/2010 06:33, Patrick Westenberg escreveu:
Osvaldo Alvarez Pozo schrieb:
ssha256_verify(user@domain.tld): SSHA256 password too short
and my default_schema is md5
if your passwords are stored in ssha256 you have to change default_schema to ssha256.
not completly true .... if passwords are stored with the {SSHA256}
or {SSHA256.HEX} prefix, or the prefix was added by sql query with some concat('{SSHA256}',password), then default_schema is not needed. Its only needed if there's no prefix on the password.
I, for example, have lots of servers where password is stored with
the prefix on the database and default_schema points to plain. It works perfectly.
however, if your password are not stored with prefix nor prefix is
being added by concat, then setting the correct default_schema can solve your actual problem.
--
Atenciosamente / Sincerily,
Leonardo Rodrigues
Solutti Tecnologia
http://www.solutti.com.br
Minha armadilha de SPAM, NÃO mandem email
gertrudes@solutti.com.br
My SPAMTRAP, do not email it
participants (3)
-
Leonardo Rodrigues
-
Osvaldo Alvarez Pozo
-
Patrick Westenberg