Mark Bucciarelli writes:
I'm having trouble getting the mysql authdaemond module to work with MD5 password hashes.After "authtest myuser mypass", the log says: authdaemond: supplied password 'mypass' does not match encrypted password ' {MD5}a029d0df84eb5549c641e04a9ef389e5
You need to use base64-encoding, not hex-encoding. Something like:
$ perl -e 'use Digest::MD5 qw(md5_base64); print "{MD5}" .
md5_base64("mypass") . "\n";'
{MD5}oCnQ34TrVUnGQeBKnvOJ5Q
pgpI05YElR9OW.pgp
Description: PGP signature
