Alan DeKok wrote:
"Gunther" <freeradius@caribsms.com> wrote:
Thanks! Yes, I see it in rfc2138 (0-253 octets) ... But isn't the feature I am talking about more part of the expression module and enhanced functionality of FreeRadius?
Yes, but the data structures used by the code are still based on RADIUS ones.
If you want to use longer strings, rlm_policy in the CVS snapshot may help.
Alan DeKok.
Will try that one! I was actually successful with changing MAX_STRING_LEN and changing one fixed [256] value in main/xlat.c (char attrname[256];). The long SQL strings were recognised and functioning. My remaining trouble was the conditional expression %{expr: SQL1}:-%{expr:SQL2}. Whenever SQL1 does not return anything, SQL2 will not be executed ... I guess I am not using the right syntax or I am running into a limit ... I presume that I have to use a complete CVS snapshot in order to use rlm_policy? Thanks, Gunther