Hi Jesse, In fact I wrote this message after I read one of your questions. I have made this patch to enable my dbmail to work with the passwords I already had. I am not aware of the details of the other patch so if you let me know where to find more info it will be of help. But anyway there is no reason that the 'md5' can not be changed. This is source, so anyone can change it, including me. Please let me know why you would prefer to use non-salted md5 and what exactly does it look like... :)
Regards, Bobby [EMAIL PROTECTED] JN> Hello, JN> Any chance you'd change the encryption_type from 'md5' to some JN> other value, to be compatible with the other (non-salted) md5 JN> password patch (which uses 'md5' too)? JN> ---- Original Message ---- JN> From: Boyan Alexiev <dbmail@dbmail.org> JN> To: dbmail@dbmail.org JN> Subject: [Dbmail] MD5 salted hashes in Dbmail (System passwords can be used) JN> Sent: Fri, 21 Feb 2003 22:39:37 +0200 >> Hello! >> >> I have made an addition to my mysql/dbauthmysql.c file to make DBmail >> 1.0 support MD5 hashed passwords like the ones created with the >> command >> >> mkpasswd --hash=md5 >> >> These hashes look like this: >> $1$TG2pWF9A$7ri7CJg/gi3KRqTbmj8VN1 where $1$TG2pWF9A$ is the salt >> >> Such passwords are used in a shadow file if you enable MD5 support. >> >> As this is an add-on you can specify 'md5' as encryption_type and >> still use all built-in options if you want. This way you should not >> have a problem to mix crypt and md5 passwords for different users if >> you want to (although I do not recommend it at all :) >> The only change you should make to compile this is to use -lcrypt >> instead of -lcrypto (refer to GNU EXTENSIONS in the crypt manual). >> I will be very glad if anyone finds this useful (I can not run my >> system without it) and if it finds its way into the official Dbmail >> release. >> Just let me know and I will post the code right away. >> >> Best regards, >> Bobby >> [EMAIL PROTECTED] >> >> _______________________________________________ >> Dbmail mailing list >> Dbmail@dbmail.org >> https://mailman.fastxs.nl/mailman/listinfo/dbmail >> JN> -- End Original Message -- JN> -- JN> Jesse Norell JN> [EMAIL PROTECTED] JN> _______________________________________________ JN> Dbmail mailing list JN> Dbmail@dbmail.org JN> https://mailman.fastxs.nl/mailman/listinfo/dbmail