[Dovecot] bug in 99.13-rc2 in ldap md5 patch

Farkas Levente lfarkas at bppiac.hu
Wed Dec 29 12:40:46 EET 2004


Timo Sirainen wrote:
> On Wed, 2004-12-22 at 18:36 +0100, Farkas Levente wrote:
> 
>>it takes me another hour do debug it again, although i already report it 
>>  for both joshua and timo. the original patch for openldap's md5 crypt 
>>has a small bug. in passdb-ldap.c the schema is already PLAIN-MD5 since 
>>that was set in the other part of the original patch in password-scheme.c.
>>do anybody use dovecot with ldap and md5 password?
> 
> 
> Hmm. That's a bit kludgy fix since then {PLAIN-MD5} would work
> differently with LDAP. Maybe I'll just remove the special case from
> password-scheme.c instead?

no this way it's correct. ldap's md5 is equal with plain-md5. in the 
scheme you should recognize it and use the plain-md5 algorithm.
anyway it works for me with openldap and md5;-)


-- 
   Levente                               "Si vis pacem para bellum!"



More information about the dovecot mailing list