Write 3GPP attributes accounting into mysql problem

Matthew Newton mcn4 at leicester.ac.uk
Wed Jan 15 15:32:21 CET 2014


On Wed, Jan 15, 2014 at 01:10:48PM +0000, Phil Mayers wrote:
> On 15/01/14 12:43, bit1 wrote:
> 
> >There is the "bar". It seems works with Cisco-AVPair (as man unlang mentioned) but not for 3GPP-*.
> 
> I wonder if it's because it starts with a digit? You could try
> renaming the attribute in the dictionary e.g. stick an "X" in front
> of it, then update your config/SQL queries.

Rings a bell. I'm sure this came up over the last year sometime. A
digit after : in an xlat causes it to bomb out (think
Tunnel-Private-Group-Id:0)

Broken in 2.2.0:

https://github.com/FreeRADIUS/freeradius-server/blob/release_2_2_0/src/main/xlat.c#L1025

I think it got fixed before 2.2.3:

https://github.com/FreeRADIUS/freeradius-server/blob/release_2_2_3/src/main/xlat.c#L1089

Try upgrading and see if it works.

Matthew


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

Systems Specialist, Infrastructure 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