(RADIATOR) How to Duplicate Accounting Records
Hugh Irvine
hugh at open.com.au
Thu Jan 15 15:01:19 CST 2004
Hello Matt -
You will want to do something like this:
<Realm testrealm>
AcctLogFileName /var/log/testrealm/%N/detail
RewriteUsername
s/^TEST([^#]+)\#([^@]+)\@testrealm$/TEST\/$1\@$2/
AuthByPolicy ContinueAlways
<AuthBy SQL>
.....
# empty AuthSelect to disable authentication
AuthSelect
# normal accounting
AccountingTable .......
AcctColumnDef ......
......
</AuthBy>
<AuthBy RADIUS>
Host xxx.xxx.xxx.178
AuthPort 1645
AcctPort 1646
Secret mysecret
</AuthBy>
</Realm testrealm>
Note the AuthByPolicy ContinueAlways, the empty AuthSelect and the
AuthBy RADIUS as the last clause.
regards
Hugh
On 16 Jan 2004, at 06:06, Matt Baker wrote:
> With Radiator 3.5 I need to duplicate accounting records for one realm.
>
> I've searched back and forth through the list and tried different ways
> of using the AuthByPolicy statement.
>
> The authentication is done by AuthBy RADIUS. When I try using AuthBy
> SQL with a ContinueWhileAccept, I get the accounting data, but the
> downstream accounting server does not.
>
> I'm would appreciate knowing what the best practice would be for
> accomplishing my goal of having my own MySQL stored records and also
> pass on the Accounting data to the downstream server.
>
> Thanks to all,
>
> Matt
>
> here's the realm statement as is today. I took out the AuthBy SQL
> statement so they could get the accounting data.
>
> <Realm testrealm>
> AcctLogFileName /var/log/testrealm/%N/detail
> RewriteUsername
> s/^TEST([^#]+)\#([^@]+)\@testrealm$/TEST\/$1\@$2/
> AuthByPolicy ContinueUntilAccept
> <AuthBy RADIUS>
> Host xxx.xxx.xxx.178
> AuthPort 1645
> AcctPort 1646
> Secret mysecret
> </AuthBy>
> </Realm testrealm>
> ===
> 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