[Dovecot] Authentication Problem MD5 hashs

Timo Sirainen tss at iki.fi
Fri Mar 31 17:49:53 EEST 2006


On Fri, 2006-03-31 at 03:43 +0200, Fabrizio Steiner wrote:
> I've migrated to dovecot-1.0beta3 and I have taken over the password 
> files from an older system. For some reason the md5 hashs have "[" chars 
> in the salt.
> 
> For example like this $1$[xxxXX[E$bg/d4JdSSf2kTL8sXXxXXX
> 
> Now the problem is that in the file src/auth/db-passwd-file.c on line 43 
> for libpam-pwdfile compatibility it will be searched for "[" to find the 
> type of the password hash. Then only the hash up to this point will be 
> used in future for comparing the passwords.

Hmm. The whole pam-passwd-file compatibility is probably useless.. Well,
I'll just fix the check to be better for now.




More information about the dovecot mailing list