(RADIATOR) missing AcctColumnDef

Hugh Irvine hugh at open.com.au
Wed Jul 31 18:01:01 CDT 2002


Hello Bruno -

You cannot do what you show below with an AcctColumnDef.

Instead you should use the AcctSQLStatement parameter.

Have a look at section 6.28.15 in the Radiator 3.1 reference manual.

regards

Hugh


On Wednesday, July 31, 2002, at 10:43 PM, Bruno Tiago Rodrigues wrote:

>
> hi there
>
> there's a hack described in the user's manual (6.28.13) which stores 
> the timestamp of the start packet for a stop packet (with 
> time()-acct_session_time).
>
> AcctColumnDef STARTTIME, %b-0%{Acct-Session-Time},literal
>
> What I'm trying to do is inserting the formatted date & time of the 
> start packet, by following the same general idea, but by using
>
> AcctColumnDef   SESSION_START_DATETIME,%b-0%{Acct-Session-
> Time},integer-date
>
> However, the AcctColumnDef line is silently ignored. Any ideas on this? 
> Is there any way to accomplish this?
>
> I've found one, but I had to dig into the AuthSQL.pm module and change 
> a line or two (therefore ruining the default integer-date and Timestamp 
> behaviour) ... and I'd prefer a simpler way, radiator upgrade 
> friendly...
>
>
> _______________________________________________________
> Vizzavi Mail powered by Vodafone - http://www.vizzavi.pt
> Virus protected by TrendMicro - http://www.antivirus.com
> ===
> 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.
>
>
--
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows 95/98/2000, NT, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.

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