Would like to stop Interim Accounting being proxied

Alan DeKok aland at deployingradius.com
Thu Jun 28 14:32:36 CEST 2012


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 ((Acct-Status-Type == Interim-Update) && (User-Name =~ /@domain/)) {
	...
  }


> But that causes the daemon to error out with
> "/etc/raddb/radiusd.conf[1433]: Line is not in 'attribute = value' format"
>
> What have I misunderstood?

  Double-check line 1433?

  Alan DeKok.


More information about the Freeradius-Users mailing list