Hello Dave -
On Tue, 25 Jan 2000, Dave Kitabjian wrote:
> Where can I learn more about "AcctLogFileFormat" than what is printed in
> the manual for 2.14?
>
> Here's what we're doing. For reliability reasons, rather than send
> Accounting data via SQL, we are going to allow Radiator to write to the
> detail file, which should never fail. Then, periodically, a VB app running
> on a Windows server will wake up, request all new accounting records from a
> server running on the Radiator host, upload them into the database, and go
> back to sleep.
>
> So the short story is that I have to parse my detail file. Obviously, I can
> make my job a lot easier if I have a lot of control over how the records
> are laid out in the detail file. With AcctLogFileFormat, it appears that I
> can choose fields and perhaps their order, but that's it. I'd like to also
> be able to:
>
> 1) Reformat the Timestamp so that it's SQL Server readable
>
> 2) Reserve Newline characters to separate entire accounting records only;
> preferably preserving the Tab character to delimit individual fields of the
> record.
>
I think my first inclination would be to build a second SQL server and define
it as a backup in the Radiator configuration file. However, if you want to know
what AcctLogFileFormat does, have a look at the subroutine called
"format_special" in the file "radiusd" in the main Radiator directory.
AcctLogFileFormat itself is defined in the file "Radius/Handler.pm", but it
just calls "format_special".
hth
Hugh
--
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, TACACS+, PAM, external, etc etc on Unix, Win95/8,
NT, Rhapsody
===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.