Can I test a perl script?

Alan Buxey A.L.M.Buxey at lboro.ac.uk
Sun Feb 26 22:00:03 CET 2012


Hi,
>    I have a perl script that obtains username and password from a pg
>    database. I'm new at freeradius, so I only can do a radtest with a
>    localhost user. Can I test my perl script with an user from the pg
>    database? how y do the radtest?


yes. you can either have the script as a normal perl script and launch
it from the command line, or you can have the script as something that
FreeRADIUS uses, call it within the authenticate section and ensure
the perl module is enabled/named...you can then just use eg radtest

alan



More information about the Freeradius-Users mailing list