Hello Olivier,

Went back in to pf/conf/authentication/radius.pm and triple-checked
and both the $RadiusServer and $RadiusSecret vars are correctly set
(the routine worked before ver 1.9.1).

I noticed that the instantiation of Authen::Radius in the
authenticate() sub is done with the minimum args $username and
$password ; presumably PF takes care of the default port definitions,
etc... Should I insert a Debug var here ? (Just to confirm - my Perl is
shaky - 'Debug = 1' will be taken as "true" in Perl, no ?)

Have scanned the doc whose reference you sent and, from there, am not
quite certain what to do next to see what is going on ... Thanks,
though.

Thanks again for the attention & advice.

Best,

Chris

On Tue  2.Nov'10 at 16:51:16 -0400, Olivier Bilodeau wrote:
> Hi Chris,
> 
> > Yes, checked logs/error_log ; grepped the directory for
> > 'authentication' and came up with nothing (no lines anywhere) that had
> > an 'ERROR' flag on them.
> >
> 
> This log should not be a very verbose one, it is the apache errror log 
> for the captive portal. Errors would have been pretty obvious. No need 
> for grepping.
> 
> > Made the mods ; here's the output from a registration attempt :
> >
> > packetfence.log:Nov 02 18:56:06 register.cgi(0) INFO: got result: 0 / 0 
> > (ModPerl::ROOT::ModPerl::PerlRun::usr_local_pf_cgi_2dbin_register_2ecgi::handler)
> > packetfence.log:Nov 02 18:56:37 register.cgi(0) INFO: got result: 0 / 1 
> > (ModPerl::ROOT::ModPerl::PerlRun::usr_local_pf_cgi_2dbin_register_2ecgi::handler)
> > packetfence.log:Nov 02 18:56:58 register.cgi(0) INFO: got result: 0 / 1 
> > (ModPerl::ROOT::ModPerl::PerlRun::usr_local_pf_cgi_2dbin_register_2ecgi::handler)
> >
> 
> This tells us that the module compiles and executes fine but that the 
> check returned (0, 1).
> 
> Looking at the authentication::radius module, I see that little 
> attention has been given to error-handling.. but I notice also that you 
> need to configure it: $RadiusServer and $RadiusSecret.
> 
> Have you done so?
> 
> If you did, then we will need to add error-handling code to see what's 
> going on there..
> 
> Module documentation if you want to look at it yourself: 
> http://search.cpan.org/~manowar/RadiusPerl/Radius.pm
> 
> Cheers!

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Packetfence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to