Closed (won't fix)
Project:
User Import
Version:
5.x-2.0-beta1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
10 Jan 2007 at 00:25 UTC
Updated:
3 Feb 2013 at 17:54 UTC
Is it possible to import md5 passwords?
Comments
Comment #1
pulpzebra commentedimporting from an existing drupal users table does it re-encrypt the already encrypted password?
Comment #2
robert castelo commentedNo, passwords are hashed as part of the account creation process, so if md5 passwords were imported they would not work.
Some code could be added to change the password to the old MD5 password once an account has been created.
That's an option I'd like to include, but won't have time to code for a few weeks.
Comment #3
ineffable commentedI am having this same problem, with over 400 users to add...
Comment #4
ineffable commentedFor anyone who's wondering how to get around this problem, what I did was manually edit the SQL tables, replacing the newly generated passwords with the old passwords from my previous site's CSV.
Comment #5
tysonlee19 commentedineffable, can you explain more about how you did this? I need to import about 600 users, and I have their hashed passwords in a CSV file. I'd rather not make everyone reset their password, if possible.
Thanks for any help...
Comment #6
robert castelo commentedComment #7
dotleb commentedI have been into same issue, and imported users using node import.
after that i created a new table, inserted the old userstable in it and updated the two tables passwords using the old one to sync onto the new one, this way recovering the old hashes.
I posted this on my blog : http://ghaoui.com/blog/2009/01/synchronise-database-field-columns-in-mysql/
Comment #8
pomliane commentedThis version of User Import is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.
This issue has been automagically closed by a script.