(RADIATOR) mysql authorization

Rogelio Alvarado Anchisi ralvarado at clarocompanama.com
Sat Aug 21 11:57:33 CDT 2004


I have a problem when trying to test my users on the mysql database
I'm going to show you my conf file.
 
Foreground
LogStdout
LogDir  /var/log/radius
DbDir   /etc/radiator
Trace           4
<Monitor>
        Username Rush
        Password Monkey
</Monitor>
 
<ClientListSQL>
        DBSource        dbi:mysql:radius
        DBUsername      root
        DBAuth          rastafari
</ClientListSQL>
 
<Realm DEFAULT>
        <AuthBy SQL>
                DBSource        dbi:mysql:radius
                DBUsername      radiator
                DBAuth          rastafari
                AccountingTable ACCOUNTING
                AcctColumnDef   USERNAME,User-Name
                AcctColumnDef   TIME_STAMP,Timestamp,integer
                AcctColumnDef   ACCTSTATUSTYPE,Acct-Status-Type
                AcctColumnDef   ACCTDELAYTIME,Acct-Delay-Time,integer
                AcctColumnDef
ACCTINPUTOCTETS,Acct-Input-Octets,integer
                AcctColumnDef
ACCTOUTPUTOCTETS,Acct-Output-Octets,integer
                AcctColumnDef   ACCTSESSIONID,Acct-Session-Id
                AcctColumnDef
ACCTSESSIONTIME,Acct-Session-Time,integer
                AcctColumnDef   ACCTTERMINATECAUSE,Acct-Terminate-Cause
                AcctColumnDef   NASIDENTIFIER,NAS-Identifier
                AcctColumnDef   NASPORT,NAS-Port,integer
                AcctColumnDef   FRAMEDIPADDRESS,Framed-IP-Address
                SQLRecoveryFile %D/missedaccounting
        </AuthBy>
 
        ##<AuthBy FILE>
        ##      Filename %D/users
        ##</AuthBy>
        ## Log accounting to a detail file
        ##AcctLogFileName       %L/detail
</Realm>
 
It's supposed that by default it will seek the users in the SUBSCRIBERS
database
And my debug says:
 
Sat Aug 21 11:41:01 2004: DEBUG: Adding Clients from SQL database
Sat Aug 21 11:41:01 2004: DEBUG: Query is: 'select
        NASIDENTIFIER,
        SECRET,
        IGNOREACCTSIGNATURE,
        DUPINTERVAL,
        DEFAULTREALM,
        NASTYPE,
        SNMPCOMMUNITY,
        LIVINGSTONOFFS,
        LIVINGSTONHOLE,
        FRAMEDGROUPBASEADDRESS,
        FRAMEDGROUPMAXPORTSPERCLASSC,
        REWRITEUSERNAME,
        NOIGNOREDUPLICATES,
        PREHANDLERHOOK from RADCLIENTLIST':
 
Sat Aug 21 11:41:01 2004: DEBUG: Finished reading configuration file
'/etc/radiator/radius.cfg'
Sat Aug 21 11:41:01 2004: DEBUG: Reading dictionary file
'/etc/radiator/dictionary'
 
 
So I guess it is connecting to my mySql server. but what am I lacking
here?

Rogelio Alvarado Anchisi
Galaxy Communications Corp

Tel: +507-2000128
Tel: +507-2000100
Cel: +507-6744093
Fax: +507-2000132
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.open.com.au/pipermail/radiator/attachments/20040821/b674f013/attachment.html>


More information about the radiator mailing list