Radius copy accounting

Matthew Newton mcn4 at leicester.ac.uk
Wed Aug 8 11:56:13 CEST 2012


On Wed, Aug 08, 2012 at 11:35:36AM +0200, BELLIERE Eric wrote:
> Yes Thanks But I tried to force in preacct with update reply { Realm +=
> "%{Realm}" }

This is pointless.

> but still no attribute realm in the packet proxied to other
> radius?

Please re-read what I wrote:

On Mon, Aug 06, 2012 at 01:39:06PM +0100, Matthew Newton wrote:
> Realm is an internal attribute (see dictionary.freeradius.internal)
> and as such doesn't appear in any packets in transit.

So read dictionary.freeradius.internal: "These attributes CANNOT
go in the reply item list. Range:  1000+" Realm is 1045...

It's an internal attribute ONLY. You can NOT get it to appear in a
packet. To do so you need to copy to a different attribute that
can go in the packet.

Matthew


-- 
Matthew Newton, Ph.D. <mcn4 at le.ac.uk>

Systems Architect (UNIX and Networks), Network Services,
I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom

For IT help contact helpdesk extn. 2253, <ithelp at le.ac.uk>


More information about the Freeradius-Users mailing list