(RADIATOR) Accounting

Hugh Irvine hugh at open.com.au
Mon Apr 19 18:56:18 CDT 2004


Hello Alexander -

The answer to this depends on what else you are doing in your 
configuration file - here is one way to do it.

# deal with accounting starts

<Handler Acct-Status-Type = Start>
	<AuthBy SQL>
		.....
		AcctSQLStatement ....
	</AuthBy>
</Handler>

# deal with accounting stops

<Handler Acct-Status-Type = Stop>
	<AuthBy SQL>
		.....
		AcctSQLStatement ....
	</AuthBy>
</Handler>

# deal with everything else

<Handler>
	<AuthBy SQL>
		.....
	</AuthBy>
</Handler>

See section 6.28 in the Radiator 3.9 reference manual ("doc/ref.html").

regards

Hugh


On 20 Apr 2004, at 02:19, Alexander Mateos Candela wrote:

> Hello,
>
> when i recevie an accounting request from an user, he starts a 
> session, i want radiator insert a recerd in a table. Then, when the 
> same user ends his sessión, i want radiator udpates the record 
> inserted before.
>
> How I configure this.
>
> Thanks.
>
> Un saludo.
>
> ===================================================
> Alexander Mateos Candela
> Informática El Corte Inglés
>
> Coordinación del Área de Comunicaciones y Operación de Sistemas
> Centro de Gestión de Sistemas Informáticos (CGSi)
> Del Principado de Asturias
> Tfno: 985109307 - (9309)
> Correo: alexamc at princast.es
> ==================================================
>
>
>
> Noticia legal
> Este mensaje electrónico contiene información de Informática el Corte 
> Inglés
> que es privada y confidencial,
> siendo para el uso exclusivo de la persona (s) o entidades arriba
> mencionadas.
> Si usted no es el destinatario señalado, le informamos que cualquier
> divulgación, copia, distribución o uso
> de los contenidos está prohibida. Si usted ha recibido este mensaje por
> error, por favor borre su contenido
> y notifíquelo al remitente.
>
>
> --
> 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.
>
>

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