Add Users in MySQL database

Alan Buxey A.L.M.Buxey at lboro.ac.uk
Fri Mar 16 20:35:49 CET 2012


Hi,
>    I want to know if there is a module that I can add users in the database
>    before AAA... I can add users with daloRadius but is important that the
>    user and password in the captive portal be added in the database before
>    authentication...

yes. you keep on saying this - but you are not being clear what you mean.

do you mean that you want to add people to the DB so that they can authenticate
via a captive portal 

OR

do you mean you want a system where whatever the user adds to the login screen gets added
to the DB and then they are just allowed to login?

if the latter - and it sounds stupid and horrible, then all you need to do is run an INSERT
command using sql and unlang BEFORE you call the sql authroize module

alan


More information about the Freeradius-Users mailing list