[RADIATOR] PreClientHook

Heikki Vatiainen hvn at open.com.au
Thu Dec 1 16:29:05 CST 2011


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

-- 
Heikki Vatiainen <hvn at open.com.au>

Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS,
TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP,
DIAMETER etc. Full source on Unix, Windows, MacOSX, Solaris, VMS,
NetWare etc.


More information about the radiator mailing list