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: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
add to 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
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 #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: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
add to 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: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
add to 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: Tue Dec 03 10:28:00 EST 2024

Total time taken to generate the page: 0.03989 seconds