Hello Peder -

On Thu, 17 Feb 2000, Peder - Voralt wrote:
> I changed my config to the following and it still isn't working.  I can
> still authenticate and log to a flat file, but no accounting in mysql.  When
> I turn on trace, I see it inserting and deleting stuff from RADONLINE for
> the session database, but I never see an attempt to use RADUSAGE.  I changed
> radacct.cgi to point to RADUSAGE and it connects ok, but it doesn't display
> data (obviously, there isn't anything to display).  Also, I can manually
> connect to the mysql database and see the RADUSAGE table, but there's no
> data in it.  Any other ideas??  Thanks.
> 
> PA
> 
> ------------------------
> 
> Foreground
> LogStdout
> Trace           4
> AuthPort        1812
> AcctPort        1813
> LogDir          /var/log/radiator
> DbDir           /etc/raddb
> DictionaryFile  %D/radiator.dictionary
> 
> <Client DEFAULT>
>         Secret xxxx
> </Client>
> 
> <SessionDatabase SQL>
>         DBSource dbi:mysql:radmin
>         DBUsername radmin
>         DBAuth radmin
> </SessionDatabase>
> 
> <Realm DEFAULT>
>         AuthByPolicy ContinueAlways
>         <AuthBy SQL>
>                 DBSource dbi:mysql:radmin
>                 DBUsername radmin
>                 DBAuth radmin
> 
>                 AuthSelect
>                 AccountingTable RADUSAGE

                   AcctColumnDef ....

>         </AuthBy>
>         <AuthBy RADIUS>
>                 Host y.y.y.y
>                 Secret xxxx
>         </AuthBy>
>         AcctLogFileName %L/logfile.%Y.%m
> </Realm>

You will need to add at least one AcctColumnDef in the AccountingTable
definition. As mentioned in my previous mail, please have a look at section
6.24 (specifically 6.24.6) in the Radiator 2.14.1 reference manual.

regards

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.

Reply via email to