Re: (RADIATOR) Variables in Hooks

2001-09-11 Thread Hugh Irvine
Hello Griff - You would do this: my $server = &main::getVariable('DbHost'); There are examples in the file "goodies/hooks.txt". regards Hugh On Wednesday 12 September 2001 06:38, Griff Hamlin, III wrote: > Hello, > > Is it possible to use global variables that are defined in the >

(RADIATOR) Variables in Hooks

2001-09-11 Thread Griff Hamlin, III
Hello, Is it possible to use global variables that are defined in the radius.cfg file within a PreClientHook that resides in another file? I would like to have a global variable %{DbHost} that is the database server hostname. In my PreClientHook I need to contact that server for some information.