Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Captive Portal import users from version 1.2.3

    2.0-RC Snapshot Feedback and Problems - RETIRED
    2
    3
    2.7k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      lucatero
      last edited by

      Hello, I install 2.0 RC1 version resently, a need import captive portal local users from 1.2.3 version, but I can't, somebody help me please, I using 300 users, is hard write one to one to new version.

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        If you import the whole 1.2.3 config it should bring in the users as well. There's no way just just import the users and nothing else.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • L
          lucatero
          last edited by

          thanks for reply, I have already solved it. On version 1.2.3, I did backup Captive Portal (ex. file1.xml), and in 2.0 version I did backup to System (ex. file2.xml). Then, I edited the files file1.xml and file2.xml, and copied all users from file1.xml to file2.xml, and I changed tags to new format in 2.0 version(For know the new format tag, do open the file2.xml file and see pfsense default user).  After that, for each user copied, replace all tags <password>to <hash-md5>in file2.xml. To finish, Restore System with file2.xml in pfsense version 2.0.</hash-md5></password>

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.