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

    Freeradius question

    Scheduled Pinned Locked Moved pfSense Packages
    2 Posts 2 Posters 1.4k Views
    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.
    • N
      npires
      last edited by

      Hello All. I'm new to pfSense, and i'm trying to mod it to my needs. For starters, i'm trying to do two things :

      1. get captive portal usernames in squid's access.log working in transparent mode.
      2. create a custom web page to allow a operator to add/change user's passwords (and only that)

      the first is done. The second one is half done. Using the vHosts package & some php, i've got almost ready. The problem is that i'm using raddact/users files directly. For reading, that is Ok. But writting to the file doesn't seem to work, because the file keeps reverting to it's original form. I've tried to look at pfsense guiĀ  part that does the same job, but got lost in all the xml. Can someone please give me a kickstart to where to start to look at ?

      TIA
      Nelson

      1 Reply Last reply Reply Quote 0
      • N
        Nachtfalke
        last edited by

        Hi,

        freeradius.xml is the file you are looking for.
        This file calls this function in freeradius.inc:

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