rlm_sql: %{sql:<long query>} - length limit

Alan DeKok aland at deployingradius.com
Fri Apr 20 16:06:45 CEST 2007

Milan Holub wrote:
> ==> I've increased the value of MAX_STRING_LEN to 1024. Here is a patch:

  It will break almost everything in the server.

> My query works now but I'm not sure whether this change might not have
> some unwanted impact somewhere else since the constant is used on many
> places... Alan? 

  It's used all over the place, for things other than queries.  Do NOT
change it!

  Alan DeKok.
  http://deployingradius.com       - The web site of the book
  http://deployingradius.com/blog/ - The blog

More information about the Freeradius-Users mailing list