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

    Add dictionary to FreeRADIUS?

    Scheduled Pinned Locked Moved pfSense Packages
    2 Posts 1 Posters 2.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.
    • J
      jeffblispay.com
      last edited by

      I want to add a vendor-specific auth string to freeradius.

      The vendor doc says, basically:

      1. add their auth string to the reply items for user. This I can do in the pfSense freeRADIUS UI
      2. Add a new dictionary that defines this auth string
      • This I have to do how? acc to the FreeRADIUS docs, I add a dictionary file and make sure it is included by the main configs.
        The pfSense package does not provide the facility to do this via the UI, so I got onto the CLI and found:

      /usr/local/share/freeradius/

      To this directory, I added a new file

      /usr/local/share/freeradius/dictionary.newvendor

      And to this file – /usr/local/share/freeradius/dictionary -- I added a $INCLUDE line just like the others already in there.

      QUESTION: How do I get FreeRADIUS to pick up these dictionary additions?

      I can't seem to restart the service on the CLI.

      There's no "reload config" button (or the equivalent) in the UI

      Please help!
      Thanks
      JDS
      I edited this

      1 Reply Last reply Reply Quote 0
      • J
        jeffblispay.com
        last edited by

        I figured it out myself. I probably wouldn't have without posting here first, though. You know how that works.

        1. I had a syntax error in the vendor file. I fixed that.

        2. To reload the service, do

        service radiusd.sh restart
        

        I'll re-edit this if it turns out this didn't actually work.

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