[Dovecot] dovecotpw/sql crypt scheme core dump with rc17-19

Timo Sirainen tss at iki.fi
Wed Jan 24 11:39:58 UTC 2007


On 24.1.2007, at 4.08, Andre Dalle wrote:

> I'm using bind auth for LDAP - this is probably why I don't run  
> into the
> problem there.
>
> I checked the core file - the program was ending on  
> DES_set_key_unchecked - an
> OpenSSL function.
>
> I changed auth/mycrypt.c to use the OpenSSL crypt function:
>
> char *mycrypt(const char *key, const char *salt)
> {
>             return DES_crypt(key, salt);
> }

I guess the OpenSSL library somehow conflicted with libc's crypt().  
Dovecot doesn't directly link OpenSSL to dovecot-auth, but LDAP and  
SQL libraries could make it included. I'm not sure if I can do  
anything to fix this properly.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20070124/2c5989d2/attachment.pgp 


More information about the dovecot mailing list