(RADIATOR) What does this mean?

Hugh Irvine hugh at open.com.au
Fri Jun 20 00:08:11 CDT 2003


Hello Craig -

I suspect what you show below is in a file called "vpr"?

If so, the correct configuration file syntax is this:

	PreHandlerHook file:"%D/vpr"

assuming that you have copied the "vpr" file to your DbDir directory 
(%D).

This instructs Radiator to load the hook code from the file "vpr" in 
the DbDir directory.

regards

Hugh


On Friday, Jun 20, 2003, at 14:50 Australia/Melbourne, Craig Gittens 
wrote:

> Jun 19 17:48:50 2003: ERR: Error in PreHandlerHook(): Can't use string
> ("vpr") as a subroutine ref while "strict refs" in use at
> C:/Perl/site/lib/Radius/Configurable.pm line 460.
>
>
> This is the vpr file: (Thanks to Robert Blayzor!)
>
> sub {
>     ${$_[0]}->delete_attr('NAS-Port-Type');
>     ${$_[0]}->add_attr('NAS-Port-Type', 'Virtual');
> }
>
> and I am using a database with the field Prehandlerhook set to "vpr"
>
> ThanksIA,
>
> Craig Gittens
> Internet Infrastructure & Support Manager
> Sunbeach Communications Inc.
> "San Remo"
> Belmont Road, St. Michael, Barbados
> Voice: (246) 430-1569
> Fax: (246) 228-6330
>
>
> ===
> Archive at http://www.open.com.au/archives/radiator/
> Announcements on radiator-announce at open.com.au
> To unsubscribe, email 'majordomo at open.com.au' with
> 'unsubscribe radiator' in the body of the message.
>
>

NB: have you included a copy of your configuration file (no secrets),
together with a trace 4 debug showing what is happening?

-- 
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows 95/98/2000, NT, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.

===
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list