[Dovecot] SSHA256 password too short

Leonardo Rodrigues leolistas at solutti.com.br
Mon Sep 13 13:21:03 EEST 2010


Em 13/09/2010 06:33, Patrick Westenberg escreveu:
>
> Osvaldo Alvarez Pozo schrieb:
>
>> ssha256_verify(user at 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 at solutti.com.br
	My SPAMTRAP, do not email it






More information about the dovecot mailing list