Hi ,



    I have installed radiator radius server on an NT server with ActivePerl
interpreter and I am facing some problems on connection to an ODBC
connection. radius daemon gives me an error :


C:\radiator>perl radiusd -config_file sql.cfg -foreground
Can't read $DBI::errstr, last handle unknown or destroyed at Radius/SqlDb.pm
lin
e 137, <FILE> line 33.
Wed Nov  8 17:37:03 2000: ERR: Could not connect to SQL database with
DBI->conne
ct dbi:w32odbc:radius, sa, casa:
Wed Nov  8 17:37:03 2000: ERR: Could not connect to any SQL database.
Request is
 ignored. Backing off for 600 seconds
This Radiator license will expire on 2000-12-01
This Radiator license will stop operating after 1000 requests
To purchase an unlimited full source version of Radiator, see
http://www.open.com.au/radiator/ordering.html

^C
C:\radiator>perl radiusd -config_file sql.cfg -foreground
Can't read $DBI::errstr, last handle unknown or destroyed at Radius/SqlDb.pm
lin
e 137, <FILE> line 33.
Wed Nov  8 17:38:03 2000: ERR: Could not connect to SQL database with
DBI->conne
ct dbi:odbc:radius, sa, casa:
Wed Nov  8 17:38:03 2000: ERR: Could not connect to any SQL database.
Request is
 ignored. Backing off for 600 seconds
This Radiator license will expire on 2000-12-01
This Radiator license will stop operating after 1000 requests
To purchase an unlimited full source version of Radiator, see
http://www.open.com.au/radiator/ordering.html



and my configuration file :



Foreground
LogStdout
LogDir          .
DbDir           .

# You will probably want to change this to suit your site.
<Client DEFAULT>
        Secret  mysecret
        DupInterval 0
</Client>

# You can put client details in a database table
# and get their details from there with something like this:
<ClientListSQL>
        DBSource        dbi:odbc:radius
        DBUsername      sa
        DBAuth      casa
</ClientListSQL>

# This will authenticate users from SUBSCRIBERS
<Realm DEFAULT>
    <AuthBy SQL>
        # Adjust DBSource, DBUsername, DBAuth to suit your DB

        DBSource        dbi:odbc:radius
        DBUsername      sa
        DBAuth      casa

        # You may want to tailor these for your ACCOUNTING table
        # You can add your own columns to store whatever you like
        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
    </AuthBy>
</Realm>






What could be the problem????


Thanx for the support.
Ahmet Takcı





===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to