Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => Mambo Bridge Support => Aiheen aloitti: RobbieB - huhtikuu 27, 2006, 04:50:20 IP

Otsikko: Convert passwords from MD5 to SHA1??
Kirjoitti: RobbieB - huhtikuu 27, 2006, 04:50:20 IP
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?
Otsikko: Re: Convert passwords from MD5 to SHA1??
Kirjoitti: JayBachatero - huhtikuu 27, 2006, 04:54:38 IP
The Joomla integration bridge handles the sync of users so It should do the hashing.
Otsikko: Re: Convert passwords from MD5 to SHA1??
Kirjoitti: RobbieB - huhtikuu 27, 2006, 06:59:58 IP
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.
Otsikko: Re: Convert passwords from MD5 to SHA1??
Kirjoitti: JayBachatero - huhtikuu 27, 2006, 07:38:25 IP
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.
Otsikko: Re: Convert passwords from MD5 to SHA1??
Kirjoitti: Orstio - huhtikuu 27, 2006, 09:20:54 IP
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.
Otsikko: Re: Convert passwords from MD5 to SHA1??
Kirjoitti: RobbieB - huhtikuu 28, 2006, 01:06:00 IP
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?

Otsikko: Re: Convert passwords from MD5 to SHA1??
Kirjoitti: Kindred - huhtikuu 28, 2006, 01:26:46 IP
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.
Otsikko: Re: Convert passwords from MD5 to SHA1??
Kirjoitti: RobbieB - huhtikuu 29, 2006, 10:14:19 IP
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.
Otsikko: Re: Convert passwords from MD5 to SHA1??
Kirjoitti: Orstio - huhtikuu 29, 2006, 10:19:24 IP
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.