(RADIATOR) Re: Program to Kick users

Hugh Irvine hugh at open.com.au
Wed Sep 1 04:17:35 CDT 2004


Hello -

The radwho.cgi script calls the sessionTerminateProg with three 
parameters: NAS-ID, NAS-PORT and USERNAME.

Your script will need to read the parameters and do whatever is 
required.

See section 12 in the Radiator 3.9 reference manual.

See the code in "goodies/radwho.cgi" for details.

regards

Hugh


On 1 Sep 2004, at 19:04, Mohammad Junaid wrote:

> But my script reads the username from a file, how we can configure the 
> cgi
> to trigger the script for that specific user?
>
> Junaid
> ----- Original Message -----
> From: "Hugh Irvine" <hugh at open.com.au>
> To: "Mohammad Junaid" <mjunaid at cyberia.net.sa>
> Cc: <radiator at open.com.au>
> Sent: Wednesday, September 01, 2004 11:52 AM
> Subject: Re: Program to Kick users
>
>
>
> Hello -
>
> You would simply edit the sessionTerminateProg line in radwho.cgi so it
> calls your script.
>
> regards
>
> Hugh
>
>
> On 1 Sep 2004, at 00:00, Mohammad Junaid wrote:
>
>> Hi Hugh,
>> We want to use some program to kick online users (for troubleshooting
>> purpose), write now we are using a perl script to do this, whcih
>> actually telnet to the NAS and clear the port, how we can integrate
>> that script to radwho.cgi as sessionTerminateProg, or can you suggest
>> a better program to do this.
>>
>> Thanks,
>> Mohammad Junaid
>>
>
> 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, MacOS X.
> -
> Nets: internetwork inventory and management - graphical, extensible,
> flexible with hardware, software, platform and database independence.
> -
> CATool: Private Certificate Authority for Unix and Unix-like systems.
>
>
>

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, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
-
CATool: Private Certificate Authority for Unix and Unix-like systems.

--
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