Non-Breaking Accounting Response Handling
null) (null
kckong1 at yahoo.com
Thu Mar 13 15:35:38 UTC 2025
Alan, Just wanted to say that the solution worked perfectly—it’s awesome! Thank you for the help and support.
accounting {
if ("%{User-Name}" =~ /@/) {
radutmp
redundant {
sql_Fradius_log
ok
}
}
exec
attr_filter.accounting_response
log_accounting
}
> On 13 Mar 2025, at 11:25 PM, Alan DeKok <aland at deployingradius.com> wrote:
>
> On Mar 13, 2025, at 5:12 PM, (null) (null) <kckong1 at yahoo.com> wrote:
>>
>> I hope you can identify the issue here. Thank for your help.
>>
>> I also tried using redundancy as follows, but still no luck. :(
>
> It's good to read the documentation on the redundant keyword:
>
> https://www.freeradius.org/documentation/freeradius-server/3.2.8/unlang/redundant.html
>
>> redundant {
>> radutmp
>> sql_Fradius_log
>> }
>> ok
>
> Which means:
>
> redundant:
> try radutmp
> if that fails
> try sql
> if that fails
> return fail
>
> OK
>
> ?
>
> How about putitng the "ok" inside of the "redundant" block?
>
> Alan DeKok.
>
More information about the Freeradius-Users
mailing list