FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Converters » Converting a database with encrypted passwords (Encrypted Password Converstion)
Show: Today's Messages :: Unread Messages :: Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
Message by bbnewbie is ignored  [reveal message]  [reveal all messages by bbnewbie]  [stop ignoring this user] Go to next message
Re: Converting a database with encrypted passwords [message #166507 is a reply to message #166506] Wed, 04 January 2012 11:42 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3768
Registered: December 2004
Karma: 27
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
Copy the convert_auth.plugin into your forum's plugin directory, activate it and configure it for your auth string. It will convert the encrypted passwords to FUDforum's format as users log in.

You can download the plugin from http://fudforum.svn.sourceforge.net/viewvc/fudforum/trunk/converter/convers ionmaps/convert_auth.plugin
Re: Converting a database with encrypted passwords [message #166509 is a reply to message #166507] Wed, 04 January 2012 11:51 Go to previous messageGo to next message
bbnewbie is currently offline  bbnewbie   United States
Messages: 27
Registered: December 2011
Karma: 0
Junior Member
remove from buddy list
stop ignoring messages by this user
I'll try that! Thanks for the fast response.
Re: Converting a database with encrypted passwords [message #166513 is a reply to message #166509] Wed, 04 January 2012 12:02 Go to previous messageGo to next message
bbnewbie is currently offline  bbnewbie   United States
Messages: 27
Registered: December 2011
Karma: 0
Junior Member
remove from buddy list
stop ignoring messages by this user
Okay, that's done. Is this the part that I should have entered into the configuration box?

crypt($password, substr($password, (strlen($password) - 3), 2))
Re: Converting a database with encrypted passwords [message #166514 is a reply to message #166513] Wed, 04 January 2012 12:05 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3768
Registered: December 2004
Karma: 27
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
Try:

crypt($u->passwd, substr($u->passwd, (strlen($u->passwd) - 3), 2))

If it doesn't work, look at how it's used from the converter map files.
Message by bbnewbie is ignored  [reveal message]  [reveal all messages by bbnewbie]  [stop ignoring this user] Go to previous messageGo to next message
Message by bbnewbie is ignored  [reveal message]  [reveal all messages by bbnewbie]  [stop ignoring this user] Go to previous messageGo to next message
Re: Converting a database with encrypted passwords [message #166526 is a reply to message #166516] Sat, 07 January 2012 00:35 Go to previous message
naudefj is currently offline  naudefj   South Africa
Messages: 3768
Registered: December 2004
Karma: 27
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
I've successfully used it on several forums. However, if the "authentication function" is wrong, it can lead to all sorts of problems. I'm afraid you'll have to debug the code to see what's wrong.
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: phpb2 converter and smilies mod
Next Topic: The database disappears when I log out and back in
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Oct 23 16:07:22 EDT 2021

Total time taken to generate the page: 0.01378 seconds