I tried a copy and paste of that and it worked. I retried the hook i wanted to
apply originally, which was still in my clipboard history and that worked.
Can't be a typo since it's clipboard history. I can't make it fail. But
looking in my console history it looks like i had first tried to put a
PreClientHook in a <Client> clause and forgot it was there. So, radiator was
complaining about that one.
My mistake, sorry.
On 11-12-01 05:29 PM, Heikki Vatiainen wrote:
> On 12/01/2011 09:27 PM, Michael wrote:
>
>> Radiator docs seem to suggest a PreClientHook is a global parameter that
>> will apply to all connections to radiator but when I add this as a global
>> option i get:
>>
>> Thu Dec 1 15:31:49 2011: ERR: Unknown keyword 'PreClientHook' in
>> /etc/radius.cfg line 10
>>
>> I this suppose to be added as a global option?
>
> Hmm, I just tried with a config that had this as the first line:
>
> PreClientHook sub { print "Here I am in PreClientHook\n"; }
>
> This is an example from Radiator radius.cfg in the distribution directory.
>
> It worked and I think it's been available for a long time.
>
> Heikki
>
_______________________________________________
radiator mailing list
[email protected]
http://www.open.com.au/mailman/listinfo/radiator