Radius authentication
Charnjit Sidhu
c.sidhu at bham.ac.uk
Thu Mar 27 12:04:36 CET 2008
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: freeradius-users-bounces+c.sidhu=bham.ac.uk at lists.freeradius.org on behalf of A.L.M.Buxey at lboro.ac.uk
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 5034 bytes
Desc: not available
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20080327/04e67016/attachment.bin>
More information about the Freeradius-Users
mailing list