Could you explain me what attribute I must add?
As accounting section, do you refer to proxy.conf file?

From: [EMAIL PROTECTED] (Paul Hampson)
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Execute a script at the end of a session
Date: Fri, 10 Dec 2004 21:02:19 +1100

On Fri, Dec 10, 2004 at 09:23:12AM +0000, Santiago Balaguer García wrote:
> Hi,
>
> I am using RADIUS for more than 9 months and for each client a initial
> script is executed since the radreply table in MySQL has a field:
>
> ************************************************************************
> * id *UserName * Attribute * OP *
> Value *
> ************************************************************************
> * 25859 * aaaj100 * Idle-Timeout * := *
> 300 *
> * 25858 * aaaj100 * Session-Timeout * := *
> 3600 *
> * 25857 * aaaj100 * Exec-Program-Wait * = *
> /home/blackbox/todo.sh %u %n *
> *************************************************************************
>
> If the attribite name of start session is Exec-Program-Wait, I want to
> know the attibute name of the end of session and if I must put in radreply
> table.


For an end of session script (eg. Accounting Stop) you want to use
rlm_exec with the Packet-Type set to Stop (off the top of my head)
in your accounting section of the FreeRADIUS configuration.

--
Paul "TBBle" Hampson, on an alternate email client.

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

_________________________________________________________________
Moda para esta temporada. Ponte al día de todas las tendencias. http://www.msn.es/Mujer/moda/default.asp



- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to