Re: Non-Breaking Accounting Response Handling

"\(null\) \(null\) via Freeradius-Users" <[email protected]>
Newsgroups gmane.comp.freeradius.user
Message-ID <[email protected]>
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 <[email protected]> wrote:
> 
> On Mar 13, 2025, at 5:12 PM, (null) (null) <[email protected]> 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.
> 

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.