Insufficient space to store pair string

Alan DeKok aland at deployingradius.com
Thu Jun 28 15:00:22 CEST 2018


On Jun 28, 2018, at 8:56 AM, Fabrice Durand <fdurand at inverse.ca> wrote:
> I use FreeRADIUS 3.0.17 and i try to fix an issue when i try to store the reply in Mysql.
> 
> I use with '%{pairs:&reply:[*]}' in my sql request but the debug tell me that there is "Insufficient space to store pair string".

  That's generally not a good idea... it can expand to many kilobytes of data.

> (18) Thu Jun 28 09:43:05 2018: ERROR: sql: Insufficient space to store pair string, needed 2101 bytes have 2048 bytes
> 
> Can you tell me where in the code i can raise this value ?

  Lots and lots of places in the code. :(  See src/main/xlat.c   There are a few references to a hard-coded "2048".

  Alan DeKok.
\


More information about the Freeradius-Users mailing list