Can I test a perl script?

Fabricio Flores fabrifloresg at gmail.com
Sun Feb 26 22:21:51 CET 2012


Thanks for your answer. I want to test my perl script with freeradius. In
the command line it works but i want to test with radtest (or something) at
freeradius. Ia there any test for it?
El 26/02/2012 16:03, "Alan Buxey" <A.L.M.Buxey at lboro.ac.uk> escribió:

> 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
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20120226/d44d6dbb/attachment.html>


More information about the Freeradius-Users mailing list