(RADIATOR) Configuration help for fail-proff authentification method

Antonio Navarro Navarro hostmaster at bemarnet.es
Thu Mar 13 10:29:09 CST 2003


Hi all,

I have a radiator configured with a PostgreSQL user database. Last
night the database failed, and the users where unabled to connect. The
configuraion section related to the Realm follows :

<Realm DEFAULT>
  AuthByPolicy ContinueWhileAccept
  RewriteUsername tr/A-Z/a-z/
  <AuthBy SQL>
    DBSource dbi:Pg:dbname=radiator
    DBUsername xxxxxxxxxxx
    DBAuth xxxxxxxxxxx
    DefaultSimultaneousUse 1
    AuthSelect select PASSWORD, CHECKATTR, REPLYATTR from SUBSCRIBERS where USERNAME='%n'
    AccountingStopsOnly
    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 NASPORT,NAS-Port,integer
    AcctColumnDef NASPORTTYPE,NAS-Port-Type
    AcctColumnDef FRAMEDIPADDRESS,Framed-IP-Address
    AcctColumnDef CALLINGID, Calling-Station-Id
    AcctColumnDef CALLEDID, Called-Station-Id
  </AuthBy>
  <AuthBy DYNADDRESS>
    AddressAllocator MainClass
    PoolHint Dynamic
    StripFromReply PoolHint
  </AuthBy>
  AddToReply Service-Type=Framed-User, Framed-Protocol=PPP
</Realm>

¿ What can I do in order to allow users to connect if the database
server fails ?

Best regards,

Antonio Navarro Navarro
hostmaster at bemarnet.es
BemarNet Management
http://www.bemarnet.es


===
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