Hi guys, please could you help
I'm currently running a community website with over 11,000 users which I would like to move to Drupal.
The backend i'm using uses all my own code which i've integrated with Web Wiz forums, however the passwords in Web Wiz are stored, i believe as MD5 hashes.
In the database for Web Wiz is the
hashed password : BC21390DE1EB2F359C1482689743ED67AAA017D0
and a salt : EA17B65
I've tried importing the users & passwords directly into Drupal however login fails.
Is there any way to import users & passwords successfully ?
I'd rather not have users request new passwords via email as not all users have added their email details and the over head of handling this manually is likely to be huge.
Thanks for all your help
A
Comments
Dual validation login
I have had some recent discussions with a fellow developer about importing users into Druapl while converting a 4,500 user site from Joomla 1.0 to Drupal 5. Joomla and Drupal both do not store the user password with a salt, so Joomla users can be directly converted to Drupal users. In your case, you need to work around that salt issue.
You could hack the core by editing the user login functions (user.module function user_load), but I don't recommend that.
A good method would be to create your own login block/module to replace the regular login block.
At some point in the future, you could remove the custom login block/module and require the rest of the users to request a new password.
Salt module
Your passwords are stored as MD5 with a salt. By default, drupal 5.x and 6.x do not salt passwords. There is a module called Salt which will let the admin setup a salt to use on the passwords.
http://drupal.org/project/salt
Simply configure it with your salt, EA17B65, and as long as you migrated all the data correctly your users should be able to login using their own passwords. As the above mentioned about hacking core, I wouldn't recommend this as upgrading would break your hack. Use the module instead.
The salt module looks like
The salt module looks like it is the simplest method to fix your issue. Wish I knew about it a few days ago, would have made my previous post so much shorter!
perfect, thank you for you
perfect, thank you for you help.
I'll give a try and reply with the details
Cheers
A