• import users from external db

    From Alessandro Trebbi@2:331/313 to All on Tue May 19 23:59:56 2020
    I have a forum where echomails are available.
    Users can register in this forum, i would like to import new users registered in the forum into Mystic BBS too.
    How can this be done ? the user base is a MySql database
    --- FUDforum on https://fidonet.3bsoft.com
    * Origin: Nightmare BBS (2:331/313)
  • From g00r00@1:129/215 to Alessandro Trebbi on Tue May 19 19:15:52 2020
    I have a forum where echomails are available.
    Users can register in this forum, i would like to import new users registered in the forum into Mystic BBS too.
    How can this be done ? the user base is a MySql database

    The passwords in Mystic are 512-bit PBKDF2 hashes at varied iterations, and I would guess the forum itself only stores password hashes too so there would probably be no way to share passwords between them.

    What would probably need to happen is the forum would need to authenticate against Mystic's user base. I would imagine most forum software has plugins for external authentication (I think someone is already doing something like this with Mystic). Do you have a method to use external authentication with it?

    --- Mystic BBS v1.12 A46 2020/05/19 (Windows/32)
    * Origin: Sector 7 | Mystic WHQ (1:129/215)
  • From Alessandro Trebbi@2:331/313 to g00r00 on Thu Jun 18 10:29:44 2020
    Quota: g00r00 (1:129/215) ha scritto in data Mar, 19 Maggio 2020 21:15 ----------------------------------------------------
    What would probably need to happen is the forum would need to authenticate against Mystic's user base. I would imagine most forum software has plugins for external authentication (I think someone is already doing something like this with Mystic). Do you have a method to use external authentication with it?
    ----------------------------------------------------

    yes, I may change the authentication method, but the problem is that users may be created even outside the bbs but should be valid for BBS too

    I have this page for example: https://fidonet.3bsoft.com/index.php?t=page&id=bbs&
    a registered user (in the portal) will have to register again in the BBS

    I would like to create user in the BBS when it's created in the portal (I have full control over this, I may write additional fields in users table, for example a "mystic_password", to be imported in mystic (the portal is Witten in php, which is the value that Mystic BBS expects ?), and vice versa (I don't remember if "vice versa" is an Italian word, means in the other versus, should be latin)

    and then synchronise values if user change password in Mystic BBS (how?) or in the portal (I would update users table in this case, just looking for a way to synchronise Mystic BBS)


    --- FUDforum on https://fidonet.3bsoft.com
    * Origin: Nightmare BBS (2:331/313)