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

    FreeRADIUS Users not working in 2.7.0-DEVELOPMENT

    Scheduled Pinned Locked Moved CE 2.7.0 Development Snapshots (Retired)
    3 Posts 1 Posters 601 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.
    • G
      gmpreussner
      last edited by

      I upgraded from Stable to 2.7.0-DEVELOPMENT today, and it appears to have broken my RADIUS configuration. I'm using a very basic setup with users being stored locally in a file and PAP; no SQL, LDAP, or VPN. The only complication is that I have a few VLANs. All authentication, including Diagnostics > Authentication fails.

      I troubleshooted the issue for a while, and I found that FreeRADIUS doesn't seem to find RADIUS users that were defined via Services > FreeRADIUS > Users. It then logs that "no last good known password was found" and doesn't set Auth-Type, which causes authentication to fail in post-auth.

      I'm not familiar with the implementation details of the pfSense UI, but I noticed that /usr/local/etc/raddb/mods-config/files/authorize is always empty, regardless of how many users I add in the GUI.

      If I manually add the users to the authorize config file then everything works fine like in Stable.

      Is it possible that DEVELOPMENT has a bug that causes the user database to be cleared and not rewritten when adding/removing users via the GUI, or could it be some setting that is incorrect in my pfSense configuration?

      Any help would be highly appreciated - thank you!

      1 Reply Last reply Reply Quote 0
      • G
        gmpreussner
        last edited by gmpreussner

        I ran some more experiments, and I can confirm that the /usr/local/etc/raddb/mods-config/files/authorize file is cleared out every time I add, modify, or remove a user via Services > FreeRADIUS > Users.

        Simply stopping and restarting the radiusd service via the GUI or from the shell does not clear the file.

        G 1 Reply Last reply Reply Quote 0
        • G
          gmpreussner @gmpreussner
          last edited by

          @gmpreussner After digging some more, I believe that this is a bug, and I filed a ticket at https://redmine.pfsense.org/issues/13628

          1 Reply Last reply Reply Quote 0
          • jimpJ jimp moved this topic from Development on
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.