Cory Barton wrote:

I am currently working on setting up an extranet site for my company. I would like to import the information from the mysql vpopmail db into the cms's (Content Management System) user database, however the cms db stores passwords like so: 7729ca956c9bdb1ea9e498ebeb57ffda
However the passwords in the vpopmail db are stored like so: $1$D065m$p8ZGr5V/L.rnHmYvi1KAu/

So I was wondering if anyone knows of a way that I can:
1. Convert the passwords in the vpopmail database to work with the other database (without making changes to the email system)
2. Change the way the email system stores its passwords to match the way the cms stores its passwords. The cms uses php.

Thanks for the help

Well, let me answer this one.

The first one is MD5 generated, the second one i believe is general crypt generated. What this means is that you would either need to rewrite the CMS so it accepts crypt'ed passwords, or rewrite vpopmail to instead of crypt use MD5, as there is no way to convert one to the other.


Reply via email to