Hi all,
I need to stop proxying Interim Accounting for a particular domain on
our legacy Freeradius 1.1.2 platform.
Reading the unlang man page, I've tried:
accounting {
if ( (%{Acct-Status-Type} = Interim-Update)
(%{User-Name} =~ /@domain/) ) {
update control {
Steve Brown wrote:
Reading the unlang man page, I've tried:
accounting {
if ( (%{Acct-Status-Type} = Interim-Update)
(%{User-Name} =~ /@domain/) ) {
That's wrong on a number of levels. The documentation says you can
just refer to an attribute by name. And use '==':
if
Hi Alan,
Thanks for the pointer. This is actually what I started with :(
I still get the error Error: /etc/raddb/radiusd.conf[1433]: Line is not
in 'attribute = value' format; line 1433 is this actual 'if ((' line.
accounting {
if ((Acct-Status-Type == Interim-Update) (User-Name =~
Steve Brown wrote:
Thanks for the pointer. This is actually what I started with :(
I still get the error Error: /etc/raddb/radiusd.conf[1433]: Line is not
in 'attribute = value' format; line 1433 is this actual 'if ((' line.
It works for me.
Check that you're using version 2? It looks
On 28/06/12 14:03, Alan DeKok wrote:
Check that you're using version 2? It looks like you're using version
1. Unlang is only supported in version 2.
I'm not, and that would explain it nicely; I mentioned in my initial
message legacy Freeradius 1.1.2 platform. Is there any way of
On 28/06/12 14:34, Steve Brown wrote:
Is there any way of achieving the same end result in v1.x without Unlang?
If there was a way to simply respond to an accounting request with an
'Accept', like you can with Auth, could I do something like:
acct_users:
DEFAULT Acct-Status-Type ==
On 28/06/12 17:13, Steve Brown wrote:
On 28/06/12 14:34, Steve Brown wrote:
Is there any way of achieving the same end result in v1.x without Unlang?
If there was a way to simply respond to an accounting request with an
'Accept', like you can with Auth, could I do something like:
You
Steve Brown wrote:
I'm not, and that would explain it nicely; I mentioned in my initial
message legacy Freeradius 1.1.2 platform. Is there any way of
achieving the same end result in v1.x without Unlang?
Unlang isn't in 1.1.x, and is *documented* as not being in 1.1.x. You
can't just try
8 matches
Mail list logo