accounting and LOCAL realm (freeradius dont send Accounting-Response)

Nicolas Baradakis nbk at sitadelle.com
Wed Jun 22 11:01:58 CEST 2005


Victor wrote:

> Ok, so how can i stop processing accounting with NULL or any other
> realm in my situation?

There're two workarounds:

1. Give up accounting proxying and use radrelay.

2. Remove instances of the 'realm' module in 'preacct' section and
write something like this in 'acct_users' file:

# Proxy this one
DEFAULT  User-Name =~ "foo\.net$", Acct-Type := "acct.foo", Proxy-To-Realm := "foo.net"

# Handle this one locally
DEFAULT  User-Name =~ "bar\.com$", Acct-Type := "acct.bar"


-- 
Nicolas Baradakis




More information about the Freeradius-Users mailing list