vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   importing passwords from different system - how to migrate (https://vborg.vbsupport.ru/showthread.php?t=121580)

scowby 07-19-2006 01:22 PM

importing passwords from different system - how to migrate
 
I have a custom-built user forum that I am migrating over into VBulletin (v3.5.4).

One issue I am facing is how to port all of the current user passwords over from the old system, which simply uses an md5 encryption of the password, and into VBulletin, which uses this additional "salt" field.

Since VBulletin uses an md5 encryption of the user's plaintext password along with this "salt" mechanism, is there any way to do this, since I don't have copies of the plain-text passwords for my users?

Or, Is there a way to get VBulletin to use a simple md5 encryption of the password only, and disable using the extra "salt?"

What is a good suggestion on how to migrate my user base into VBulletin given this password issue?

Thanks!!

Mastar 07-19-2006 02:30 PM

Are you using Impex? If not may I suggest it!

scowby 07-19-2006 04:36 PM

Hi, I can't use Impex because the source board is not one that's supported. Just a note that I didn't get too involved researching Impex because of this limitation.

I read through the Impex docs and it also looks like there might be issues importing passwords from other systems as well - is there any more detail to this? Like, does phpBB store passwords in md5 encrypted format, and can Impex import these password types? If so, then it'd work for me - it's just that Impex isn't natively going to be able to port my board over.

So, in summary - can passwords from other systems that encrypt using simple md5 encryption be imported?

Thanks!

Mastar 07-19-2006 04:53 PM

I've imported a couple of boards from phpbb to vb using impex.

scowby 07-19-2006 05:45 PM

What I'm saying is I am using a *custom* built board, not phpBB, but I had the thought maybe phpBB uses md5() encryption for it's passwords, much like my current board does.

Any thoughts on this password thing?

peterska2 07-19-2006 09:06 PM

Have you actually enquired at vB.com regarding an import? It is possible that they may be able to help.

Paul M 07-19-2006 10:21 PM

vb does a double conversion like this ;

Hash = MD5( MD5(password) . SALT )

Since you have the MD5(password) already, to convert your hashes to vb format you just need to do MD5 ( HASH . SALT ) - where HASH is your current MD5 hash and SALT is the users salt (stored in the user table). Obviously for a new import, you could create the salt yourself, and then store it in the user table at the same time as everything else.

scowby 07-20-2006 11:58 AM

Great! Thanks for your post. This is exactly the information I was looking for.

I will try it out and see how it works!


All times are GMT. The time now is 04:59 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01620 seconds
  • Memory Usage 1,713KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete