Seems a good approach, I wrote something in awk but takes lots of time to process big detail files.
I will take a look of the rlm_perl. Thanks On Fri, 2003-10-31 at 20:39, Kostas Kalevras wrote: > On Fri, 31 Oct 2003, Gustavo A. Lozano wrote: > > > Hello. > > > > Somebody came to us with the need to produce the same result of the > > detail files in a csv file. the database backend is not enough as they > > need the whole bunch of pairs contained in a standard detail file. > > > > Well the question here is if somebody have something near, to place the > > records just as they come in the accounting package from the nas in > > something like this: > > > > User-Name = test,Called-Station-Id = 55555555, Calling Station-Id = > > 111111111, ........... Timestamp = 123123123123\n > > > > If nobody have something, well may be I will take a look of rlm_detail > > and based on that, write the thing down... but you never know, may be > > somebody already have the job done... > > I don't know of anything readily available to do that sort of thing. Though it > should not be more than a few lines in perl. So your best/quicker shot is to > create a small perl script to do the job and run that through rlm_perl. > > > > > > > Gustavo > > > > > > - > > List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html > > > > -- > Kostas Kalevras Network Operations Center > [EMAIL PROTECTED] National Technical University of Athens, Greece > Work Phone: +30 210 7721861 > 'Go back to the shadow' Gandalf > > - > List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html > > - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
