Hi,
 
Have downloaded and installed Authen:: Radius module from cpan without any 
problems, I know get no errors in my log files but it still does not 
authenticate, I already have a auth_radius.pl script which is run to 
authenticate which looks like this:
 
 
#!/usr/bin/perl

use Authen::Radius;

my $username = shift;
my $password = shift;

my $r = new Authen::Radius(Host => 'myserver', Secret => 'mysecret');
my $result = $r->check_pwd($username, $password);

exit ($result == 1) ? 0 : 1;

I thought this should pass all the relevant radius parametres to the module. Do 
I need to add the radius server and secret anywhere else in the perl module? 
(never used perl module before).
 
Charnjit
 
________________________________

From: [EMAIL PROTECTED] on behalf of [EMAIL PROTECTED]
Sent: Thu 3/27/2008 9:55 AM
To: FreeRadius users mailing list
Subject: Re: Radius authentication



Hi,

> I recieve an error in my log file of a missing Authen/Radius.pm file.  I 
> think this is a radius client perl module, does any one know where I can 
> download this from, or wether there is a better solution, or I am doing 
> somethin wrong, I am new to all this Radius authentication.

as per other recent mailing list - either check your systems package
manager for perl-radius packages, use CPAN to install Authen::RADIUS
or get the pacakge direct

http://search.cpan.org/~manowar/RadiusPerl-0.12/Radius.pm

alan
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


<<winmail.dat>>

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to