Hello Janet -
Please note my reference to Radiator 2.18.
"AcctFailedLogFileName" is only supported in Radiator 2.18.
regards
Hugh
At 14:49 +1000 01/4/2, Janet N. del Mundo wrote:
>Hi Hugh/Arjan,
>
>I tried using the "AcctFailedLogFileName" feature in the <Handler
>Request-Type = Accounting-Request> clause, but it gives me this error:
>
>ERR: Unknown keyword 'AcctFailedLogFileName' in rad.cfg line 389
>
>However, I did try to use 'ContinueWhileIgnore' policy and this works
>when the SQL server is down:
>
><Handler Request-Type = Accounting-Request>
># AuthByPolicy ContinueWhileReject
> AuthByPolicy ContinueWhileIgnore
> AuthBy SQL
> <AuthBy FILE>
> Filename %D/detail.%y%m%d
> </AuthBy>
># AcctFailedLogFileName %D/detail.%y%m%d
></Handler>
>
>Thank you Arjan!
>Best regards,
>Janet
>
>Arjan Waardenburg wrote:
>>
>> In earlier versions you should use an AuthByPolicy ContinueWhileIgnore.
>>
>> If a SQL-database fails Radiator cannot get a reply and ignores the request
>> instead of rejecting it.
>>
>> Arjan
>>
>> -----Original Message-----
>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
>> Behalf Of Hugh Irvine
>> Sent: Friday, March 30, 2001 7:19 AM
>> To: Janet N. del Mundo; [EMAIL PROTECTED]
>> Subject: Re: (RADIATOR) Fallback to flat file accounting - no reply
>>
>> Hello Janet -
>>
>> In Radiator 2.18 you would use the "AcctFailedLogFileName ..."
>> parameter directly.
>>
>> See section 6.26.15 in the Radiator 2.18 reference manual.
>>
>> hth
>>
>> Hugh
>>
>> At 8:11 +1000 01/3/30, Janet N. del Mundo wrote:
>> >Hi,
>> >
>> >I'm wondering if I'm using the correct AuthByPolicy to handle falling
>> >back from a SQL DB to a flat file for accoounting. Is this right?
>> >
>> ><Handler Request-Type = Accounting-Request>
>> > AuthByPolicy ContinueWhileReject
>> > AuthBy SQL
>> > <AuthBy FILE>
>> > Filename %D/detail.%y%m
>> > </AuthBy>
>> ></Handler>
>> >
>> >When I do a radpwtst, the accounting replies say 'No reply'. If I put
>> >this Handler clause in production, will it work if our SQL DB goes
>> >down? Will it send an 'OK' back to the NAS's? For testing purposes in
>> >my AuthBy SQL clause, I set the Timeout 10 and FailureBackoffTime 20.
>> >Also, I have a fake SQL DBSource to have it fall back to the flat file.
>> >
>> ># ./radpwtst -secret dork -user xxxxxx -password xxxxx -auth_port 2000
>> >-acct_port 2001 -timeout 60
>> >sending Access-Request...
>> >OK
>> >sending Accounting-Request Start...
>> >No reply
>> >sending Accounting-Request Stop...
>> >No reply
>> >
>> >Thanks,
>> >Janet
>> >
>> >--
>> >_____________________________________________________
>> >Janet del Mundo
>> >Internet Administrator, Startec Global Communications
>> >135 Chalan Santo Papa Agana, Guam 96910
>> >Email: [EMAIL PROTECTED]
>> >
>> >===
>> >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.
>>
>> --
>>
>> NB: I am travelling this week, so there may be delays in our correspondence.
>>
>> Radiator: the most portable, flexible and configurable RADIUS server
>> anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
>> Platypus, Freeside, Interbiller, TACACS+, PAM, external, etc, etc.
>> Available on Unix, Linux, FreeBSD, Windows 95/98/2000, NT, MacOS X.
>>
>> ===
>> 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.
>>
>> ***************************DISCLAIMER***********************************
>> Deze e-mail is uitsluitend bestemd voor de geadresseerde(n).
>> Verstrekking aan en gebruik door anderen is niet toegestaan.
>> KPN N.V. sluit iedere aansprakelijkheid uit die voortvloeit uit
> > elektronische verzending.
>>
>> This e-mail is intended exclusively for the addressee(s), and may
>> not be passed on to, or made available for use by any person
>> other than the addressee(s).
>> KPN N.V. rules out any and every liability resulting from any
>> electronic transmission.
>> ************************************************************************
>
>--
>_____________________________________________________
>Janet del Mundo
>Internet Administrator, Startec Global Communications
>135 Chalan Santo Papa Agana, Guam 96910
>Email: [EMAIL PROTECTED]
>
>===
>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.
--
NB: I am travelling this week, so there may be delays in our correspondence.
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, Interbiller, TACACS+, PAM, external, etc, etc.
Available on Unix, Linux, FreeBSD, Windows 95/98/2000, NT, MacOS X.
===
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.