<p>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?</p>
<div class="gmail_quote">El 26/02/2012 16:03, "Alan Buxey" <<a href="mailto:A.L.M.Buxey@lboro.ac.uk">A.L.M.Buxey@lboro.ac.uk</a>> escribió:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
> I have a perl script that obtains username and password from a pg<br>
> database. I'm new at freeradius, so I only can do a radtest with a<br>
> localhost user. Can I test my perl script with an user from the pg<br>
> database? how y do the radtest?<br>
<br>
<br>
yes. you can either have the script as a normal perl script and launch<br>
it from the command line, or you can have the script as something that<br>
FreeRADIUS uses, call it within the authenticate section and ensure<br>
the perl module is enabled/named...you can then just use eg radtest<br>
<br>
alan<br>
-<br>
List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/list/users.html</a><br>
</blockquote></div>