Convert passwords from MD5 to SHA1??

Started by RobbieB, April 27, 2006, 04:50:20 PM

Previous topic - Next topic

RobbieB

I have 2 forums that use MD5 and I wan to consolidate both and then import into SMF.

My site uses Joomla/SMF and I noticed joomla uses MD5

How do I take my user database that uses MD5 passwords and import it into SMF?

Do the converters that are available already handle that? the forums I'm coming from are phpnukebb and vbulletin or Invision. Additionally, once imported into SMF how do I then export the same userbase from SMF into Joomlas member table (site uses SMF bridge but I'm not assuming that these converters were written with bridge in mind) since joomla uses MD5?

JayBachatero

The Joomla integration bridge handles the sync of users so It should do the hashing.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

RobbieB

Yeah for new registrations but I'm talkin about importing users from into my joomla/smf site.

How am I supposed to import them. Import only into smf, or into joomla? I'm trying to assume the least and that is I dont think that if I just import users into either joomla or smf that it will automatically add them to the other.

JayBachatero

I'm not really sure about htis since I don't use Joomla but I'll move this to the Mambo/Joomla board so that someone can give you a better answer there.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Orstio

SMF can easily handle a MD5 password.  On a user's first login, SMF will return a warning "Password security has recently been upgraded.  Please login again."  When the user logs in again, his/her password will automatically be converted to SHA1.

RobbieB

Okay, that makes sense actually because I forgot the password I used when I setup the forum and I tried pasting in an MD5 password from my joomla admin and it gave me that error. I'll probably try to find that in the code and rewrite it so people know that the password isn't invalid because that's actually what I assumed when it happend to me.

Okay, so that helps ease my mind a little bit, I was thinking that I was about to enter a nightmare conversion scenario with password problems.

Now to my last question/problem. What about the fact that joomla and SMF both use their own user tables. AFter I import my members to SMF how do I get them into joomla also?


Kindred

1- with bridge 1.1.4, you can import users from smf into joomla and vice-versa through the joomla bridge component (admin interface)

2- When an existing SMF user logs in using the bridge login module (mod_smf_login), they will be imported into the joomla user table.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

RobbieB

Okay, cool. So what I'll probably do is just import into joomla since that uses MD5 and have the bridge do the rest... will it convert to SHA1 or will they still have to double login the first time they use the new forums?

Anyways, I think my bridge is broken in admin so I'll have to make another post about that.

Orstio

You do know that the 1.1.4 bridge has user synching features?  You don't need to copy anything -- it does all that for you.

Advertisement: