Importing users and nas clients from the radius files to a mysql database
Conrad Classen
conrad.classen at gmail.com
Tue Jul 23 13:47:08 UTC 2024
Hi Alan
I have attached the users2mysql.pl file here which I modified.
Thanks
On 2024/07/23 15:32, Alan DeKok wrote:
> 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.
>
> -
> List info/subscribe/unsubscribe? Seehttp://www.freeradius.org/list/users.html
More information about the Freeradius-Users
mailing list