Hello SJ -
On Fri, 16 Jun 2000, [EMAIL PROTECTED] wrote:
> I've found that
>
> my $p = ${$_[0]};
> my $code = $p->code(); # the reference to the Request-Type
>
> and $main::ACCEPT/REJECT is my friend, but I've got a further problem:
>
> Can someone tell me how to start either an external program or a hook
> which starts when a user session terminates ?
>
On your first point (and previous email) there are example hooks in the file
"goodies/hooks.txt" in the Radiator 2.16.1 distbibution.
On your second point, look for an Accounting Stop:
ie.
<Handler Acct-Status-Type = Stop>
or the corresponding code in your Hook.
hth
Hugh
--
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, Interbiller, TACACS+, PAM, external, etc, etc.
Available on Unix, Linux, FreeBSD, Windows 95/98/2000, NT, MacOS X.
===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.