Re: Can I test a perl script?

2012-02-27 Thread Fabricio Flores
ok I tried to configure freeRadius with perl sopport in the Rlm_perl doc says: In the users file comment the 'DEFAULT Auth-Type = System' lines, and then add:DEFAULT Auth-Type = Perl Fall-Through = yes but when I start the server (radiusd -X) it returns me: /etc/raddb/users[208]: Parse

Re: Can I test a perl script?

2012-02-27 Thread Alan Buxey
Hi, ok I tried to configure freeRadius with perl sopport in the Rlm_perl doc says:� ignore. dont add anything to the users file - simply call the perl module where you need it to be called - if using the default name, simply add the word 'perl' to eg your inner-tunnel authentication

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: 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

Re: Can I test a perl script?

2012-02-26 Thread Fabricio Flores
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

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