At 21:10 Uhr +0300 28.8.2001, Alex Zhukov wrote:
>Hi all,
>
>Can anyone explain why doesnt auth_pop understand md5 encrypted passwords ?
>Well, crypt-ed
># ldap_get_extrainfo: userPassword: {crypt}ekYWktdaUUGb6
>  are just fine but md5-ed
># ldap_get_extrainfo: userPassword:  {md5}d8578edf8458ce06fbc5bb76a58c5ca4
>fail .

The md5 passwords in ldap and qmail-ldap are stored as base64 and not 
as hexstring. Use the digest tool included in qmail-ldap to generate 
md5 passwords.

>i havent enabled -DCLEARTEXTPASSWD so i suppose cleartext passwords should
>fail.

This should be true.

>i also have grepped in qmail-1.03 (patched of course) sources for "md5"
>string and found nothing. Does this mean there's no support for md5?

Your grep tool seems to be strange. Try grep -i "md5" *.[ch] I 
haven't tried it but my guess is that it will find at least some 
files (digest.c, digest_md5.c, checkpassword.c, ...)

-- 
--
:wq Claudio

`tail -22 QLDAPINSTALL`

Reply via email to