Insufficient space to store pair string
Hello, 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". (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 ? Regards Fabrice -- Fabrice Durand fdurand@inverse.ca :: +1.514.447.4918 (x135) :: www.inverse.ca Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and PacketFence (http://packetfence.org)
On Jun 28, 2018, at 8:56 AM, Fabrice Durand <fdurand@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. \
Thanks, i will make some try. Regards Fabrice Le 2018-06-28 à 09:00, Alan DeKok a écrit :
On Jun 28, 2018, at 8:56 AM, Fabrice Durand <fdurand@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. \ - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- Fabrice Durand fdurand@inverse.ca :: +1.514.447.4918 (x135) :: www.inverse.ca Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and PacketFence (http://packetfence.org)
participants (3)
-
Alan DeKok -
Arran Cudbard-Bell -
Fabrice Durand