25 Jul
2016
25 Jul
'16
10:54 a.m.
On 25/07/16 15:38, Oliver Kutscher wrote:
accounting { .. customer1 customer2 .. }
How are your customers distinguished? Different realms in the username? Other attributes in the RADIUS packet? You could try something like this: accounting { if (User-Name =~ /@customer1.com$/) { customer1 } elsif (User-Name =~ /@customer2.com$/) { customer2 } } This is a fairly clumsy approach, though. The *right* way of fixing it is to use a different virtual server for each customer so different customers' information can not be accidentally contaminated. http://freeradius.org/features/virtual_servers.html Cheers, Jonathan -- Jonathan Gazeley Senior Systems Administrator IT Services University of Bristol