password hashing & salt info - 5.6 to 7.0.5 migration

I am soon wanting to migrate my users and what ever else I can from my 5.6 dolphin site. I need to make a migration script, and dolphin 5.6 does not use password hashing. If possible I want to convert the users passwords during migration.

 

So the password hashing looks like standard md5. Where does the salt come from? Is it randomly generated? What's the process.... password hashed with md5 then password md5 hashed with salt?

 

Any advice would be helpful. Thanks!

Quote · 26 Feb 2011

Any one?

Quote · 27 Feb 2011
 To my knowledge I think they use sha for password then md5 with random salt and sha hash. In any case you are also going to struggle with photos as D7 is structured differently. When I did mine I first migrated everything to D6.1.6 and then used the D7 migration tool which worked a treat. Dave..
Quote · 27 Feb 2011

 

 To my knowledge I think they use sha for password then md5 with random salt and sha hash. In any case you are also going to struggle with photos as D7 is structured differently. When I did mine I first migrated everything to D6.1.6 and then used the D7 migration tool which worked a treat. Dave..

 Tried that. Didn't work. Any other ideas on the hash/salt sequence?

Quote · 5 Mar 2011

You should be able to work that out from the information i posted here to reset a admin password. This is written to perform the hashing in MYSQL but you can apply a similar procedure for PHP as well.


http://www.boonex.com/unity/forums/#topic/Reset-Admin-Password.htm

https://www.deanbassett.com
Quote · 5 Mar 2011

Thanks deano. I found the functions in utils.inc.php and got it from that.

Quote · 5 Mar 2011

 

 To my knowledge I think they use sha for password then md5 with random salt and sha hash. In any case you are also going to struggle with photos as D7 is structured differently. When I did mine I first migrated everything to D6.1.6 and then used the D7 migration tool which worked a treat. Dave..

 I was going to make a script to transfer and convert the images etc, but if it could be done simply by updating to 6.1.6 that might be a better, faster solution. Is it possible to download older dolphin versions?

Quote · 5 Mar 2011

 

 

To my knowledge I think they use sha for password then md5 with random salt and sha hash. In any case you are also going to struggle with photos as D7 is structured differently. When I did mine I first migrated everything to D6.1.6 and then used the D7 migration tool which worked a treat. Dave..

I was going to make a script to transfer and convert the images etc, but if it could be done simply by updating to 6.1.6 that might be a better, faster solution. Is it possible to download older dolphin versions?

You can find all older releases here, but I'm unsure about upgrading with these files. You may want to send AlexT or someone else at BoonEx a message about older patches, as they might still have them somewhere.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 5 Mar 2011

Thanks for that Magnussoft. I'm thinking I might be better off doing it with my own script any way, as have customisations etc. I also suspect that it won't manage videos etc as they would all need to be chucked through ffmpeg. Come to think of it, not sure we even have movies on existing site! So I was mostly panning to migrate users, feedback and photos etc, and I think I'm almost there with that. Any idea what the "Role" database field is for?

Quote · 5 Mar 2011

 

Thanks for that Magnussoft. I'm thinking I might be better off doing it with my own script any way, as have customisations etc. I also suspect that it won't manage videos etc as they would all need to be chucked through ffmpeg. Come to think of it, not sure we even have movies on existing site! So I was mostly panning to migrate users, feedback and photos etc, and I think I'm almost there with that. Any idea what the "Role" database field is for?

Role field. 1 = standard member, 3 = Admin. No other numbers are currently used in dolphin 7.


https://www.deanbassett.com
Quote · 5 Mar 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.