Importing users and nas clients from the radius files to a mysql database
Alan DeKok
aland at deployingradius.com
Tue Jul 23 13:32:49 UTC 2024
On Jul 23, 2024, at 3:10 AM, Conrad Classen <conrad.classen at gmail.com> wrote:
> I had a look at the "users2mysql.pl" included in the freeradius source code, however that was designed to be used with freeradius 0.7 and most of the perl script would need to be changed/replaced to work with newer freedaius versions.
So make those changes, and submit the patches back.
An Open Source project like FreeRADIUS depends on contributions from the community.
i.e. It will only be a short amount of work to fix the script, and then use it to import the "users" file into SQL. After that, submit a PR to fix the script. Or send the updated script to the mailing list.
Pretty much any other course of action is more work for you. Plus, contributing back to the community shows that you appreciate the decades of work people put into the software.
Alan DeKok.
More information about the Freeradius-Users
mailing list