Fwd: (RADIATOR) Look Correct?

Mike McCauley mikem at open.com.au
Wed Jan 23 04:05:48 CST 2002


Hi Steve,

> ----------  Forwarded Message  ----------
>
> Subject: (RADIATOR) Look Correct?
> Date: Tue, 22 Jan 2002 09:47:35 -0800
> From: Steve Katen <skaten at o1.com>
> To: radiator at open.com.au
>
> Anyone,
>
> Does this look correct?  I am attempting to send accounting information to
> a postgres database and I am receiving conection errors.  However, when I
> connect with the postgres client it works just fine.  I can also write a
> short perl script that works fine.  The problem seems to only occur when I
> try to connect from radiator, and it is a Connection Refused error.
>
>          <AuthBy SQL>
>                  # Specify the SQL database to connect to
>                  DBSource        dbi:Pg:dbname=radius:host=xxx.xxx.xxx.xxx

That should be a semicolon not a colon before host:

	DBSource        dbi:Pg:dbname=radius;host=xxx.xxx.xxx.xxx


>                  DBUsername    username
>                  DBAuth	     password
>
>                  # no authentication
>                  AuthSelect
>
>                  AccountingStopsOnly
>
>                  AccountingTable ACCOUNTING_$DNIS
>                  AcctColumnDef timestamp,timestamp
>                  AcctColumnDef user_name,User-Name
>                  AcctColumnDef framed_ip_address,Framed-IP-Address
>                  AcctColumnDef framed_protocol, Framed-Protocol
>                  AcctColumnDef nas_ip_address,NAS-IP-Address
>                  AcctColumnDef acct_session_id,Acct-Session-Id
>                  AcctColumnDef acct_session_time,Acct-Session-Time
>                  AcctColumnDef acct_input_octets,Acct-Input-Octets
>                  AcctColumnDef acct_output_octets,Acct-Output-Octets
>                  AcctColumnDef
>  ascend_disconnect_cause,Ascend-Disconnect-Cause AcctColumnDef
>  ascend_connect_progress,Ascend-Connect-Progress AcctColumnDef
>  ascend_xmit_rate,Ascend-Xmit-Rate
>                  AcctColumnDef ascend_data_rate,Ascend-Data-Rate
>                  AcctColumnDef ascend_modem_portno,Ascend-Modem-Portno
>                  AcctColumnDef ascend_modem_slotno,Ascend-Modem-Slotno
>                  AcctColumnDef calling_station_id,Calling-Station-Id
>                  AcctColumnDef called_station_id,Called-Station-Id
>                  AcctColumnDef nas_port,NAS-Port
>
>                  AcctFailedLogFileName
> /var/log/radius/missed_acct_%Y%m%d.log </AuthBy>
>
>
> ===
> 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.
>
> -------------------------------------------------------

-- 
Mike McCauley                               mikem at open.com.au
Open System Consultants Pty. Ltd            Unix, Perl, Motif, C++, WWW
24 Bateman St Hampton, VIC 3188 Australia   http://www.open.com.au
Phone +61 3 9598-0985                       Fax   +61 3 9598-0955

Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
Platypus, Freeside, TACACS+, PAM, external, Active Directory etc etc 
on Unix, Win95/8, 2000, NT, MacOS 9, MacOS X
===
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