FreeRADIUS Users not working in 2.7.0-DEVELOPMENT
-
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 inpost-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!
-
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.
-
@gmpreussner After digging some more, I believe that this is a bug, and I filed a ticket at https://redmine.pfsense.org/issues/13628
-