Re: [Exim] plain auth match using crypteq

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Mark Foster
Data:  
Para: exim-users
Asunto: Re: [Exim] plain auth match using crypteq
Tamas TEVESZ wrote:
> On Wed, 17 Mar 2004, Mark Foster wrote:
>
> > mdf:45ebd07ed0eea75cfdc99df2b0887821
>
> that's supposed to be an md5 _password_ hash, no?
>
>
>>Crypto.crypt_md5("mishmash");
>
> (97) Result: "$1$esulztUG$E2RbBoLd3zBEBSDvxYp8a0"
>
> try with that in the pwd file..


Thanks.
Ok, first off, the length of that result is 34, but exim expects 24 or 32...
5205 lookup yielded: $1$esulztUG$E2RbBoLd3zBEBSDvxYp8a0
5205 crypteq: length for MD5 not 24 or 32: fail
5205 crypted=$1$esulztUG$E2RbBoLd3zBEBSDvxYp8a0
...
5205 SMTP>> 535 Incorrect authentication data

So I tried shortening it to 32 by lopping of the $1
5199 lookup yielded: $esulztUG$E2RbBoLd3zBEBSDvxYp8a0
5199 crypteq: using MD5+hex hashing
5199 subject=156335A148E8AA271069C550CC514586
5199 crypted=$esulztUG$E2RbBoLd3zBEBSDvxYp8a0
...
5199 SMTP>> 535 Incorrect authentication data

Still no luck.
--
Some days it's just not worth chewing through the restraints...
Mark Foster <mark@???> http://mark.foster.cc/