Re: RADIUS log

Carl Rigney ((no email))
Mon, 28 Apr 1997 18:57:49 -0700 (PDT)

If you want our RADIUS accounting server to put everything in one big
logfile instead of a seperate logfile for each NAS, just edit acct.c
and change this section:

/*
* Create a directory for this client.
*/
sprintf(buffer, "%s/%s", radacct_dir, clientname);
mkdir(buffer, 0755);

/*
* Write Detail file.
*/
sprintf(buffer, "%s/%s/detail", radacct_dir, clientname);

To this:

/* Write Single Detail file. */
sprintf(buffer, "%s/detail", radacct_dir);

That's all there is to it. (Oh, OK, you have to recompile, too. :-) )

--
Carl rigney
cdr@livingston.com