Help needed on Migration of trac users to tiki
- Status
- Open
- Subject
- Help needed on Migration of trac users to tiki
- Version
- 23.x
- Category
- Support request
- Feature
- Database MySQL (InnoDB)
User Administration (Registration, Login & Banning) - Resolution status
- New
- Submitted by
- Gary Cunningham-Lee
- Lastmod by
- Markus Beckschulte
- Rating
- Description
I added this here because there have been no responses in the forum. The category is support request, and I assume this does not mean request for paid support.
See https://tiki.org/tiki-view_forum_thread.php?comments_parentId=77291#threadId=77544
Maybe this can be handled by a new developer to the project.
- Solution
In the function validate_user_tiki() simply add the following before the md5() stuff:
Copy to clipboard$realmtrac = ':oldRealm:'; if (! empty($pass) && $res'hash' === md5($user.$realmtrac.$pass)) { $this->set_user_password($res'userId', $pass); return USER_VALID, $user; }
because set_user_password is called, the old hash will be rehashed. the old realm has to be put into the variable $realmtrac- Importance
- 7
- Easy to solve?
- 5
- Priority
- 35
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 7846
- Created
- Wednesday 29 September, 2021 10:17:00 UTC
by Gary Cunningham-Lee - LastModif
- Thursday 07 October, 2021 12:13:13 UTC