Hello Peder -
On Wed, 16 Feb 2000, Peder - Voralt wrote:
> I'm trying to setup RADIUS proxy and accounting to mySQL. I've got the
> RADIUS proxy working, I've got user session logging to mySQL, but I can't
> figure out how to send the accounting info to mySQL. The example that comes
> with Radiator shows it for authentication and accounting via mySQL, but not
> splitting it up. I'm sure this is fairly common, but I just can't figure it
> out. My config is below. Any ideas? Thanks.
>
Sure - configuration follows:
# configuration for voralt.net
Foreground
LogStdout
AuthPort 1812
AcctPort 1813
LogDir /var/log/radiator
DbDir /etc/raddb
DictionaryFile %D/radiator.dictionary
# configure clients
<Client DEFAULT>
Secret xxxxxx
</Client>
# configure session database
<SessionDatabase SQL>
DBSource dbi:mysql:radmin
DBUsername radmin
DBAuth radmin
</SessionDatabase>
# configure default realm
# note AuthByPolicy and cascaded AuthBy's
# AuthBy SQL has empty AuthSelect to disable authentication
<Realm DEFAULT>
AuthByPolicy ContinueAlways
<AuthBy SQL>
DBSource dbi:mysql:radmin
DBUsername radmin
DBAuth radmin
AuthSelect
AccountingTable RADUSAGE
</AuthBy>
<AuthBy RADIUS>
Host x.x.x.x
Secret xxxxxx
</AuthBy>
AcctLogFileName %L/logfile.%Y.%m
</Realm>
See section 6.24 in the Radiator 2.14.1 reference manual.
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.