Can I test a perl script?

2012-02-26 Thread Fabricio Flores
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? -- Fabricio A. Flores G. Egresado en Ingeniería en Sistemas

RE: Welcome to the Freeradius-Users mailing list

2012-02-26 Thread Javier Ruiz Escalante
Hello, I'm new in Freeradius and I get the same message, although I want to get the data from a Mysql Data base, can someone help me? I don't even know if radius makes the query, can I find out if the sql query has been performed? Below is the debug file: rad_recv: Access-Request packet from

Re: Can I test a perl script?

2012-02-26 Thread Alan Buxey
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

Re: Welcome to the Freeradius-Users mailing list

2012-02-26 Thread Alan Buxey
Hi, I'm new in Freeradius and I get the same message, although I want to get the data from a Mysql Data base, can someone help me? I don't even know if radius makes the query, can I find out if the sql query has been performed? have you added (uncommented) the calls to sql in the relevant

Re: Can I test a perl script?

2012-02-26 Thread Fabricio Flores
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.bu...@lboro.ac.uk escribió: Hi, I have a perl script that obtains

Re: Can I test a perl script?

2012-02-26 Thread Alan Buxey
Hi, 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? if you want to use radtest, then that means you are testing the FreeRADIUS server - so simply