Freeradius, custom vars and sql queries in sites-enabled/dhcp

Wingman wingman at
Wed Jun 2 09:52:55 CEST 2010

Hmm, only one more question

Is there a sense to try to build functionality without rlm_perl?
I  mean, is there a strong performance difference between rlm_perl and
native freeradius, especially in production usage?

Вы писали 2 июня 2010 г., 10:31:53:

> Wingman wrote:
>> For example, i need to parse several conditions, regarding to sql queries results. I'm confusing in how to use custom vars and custom sql queries in sites-enabled/dhcp ?
>> i.e. i need somthing like this pseudocode:
>> dhcp DHCP-Discover {
>> .........
>>    sql
>>    MYVAR := "%{sql: select blahblahblah}"

>   See "man unlang".  You need to put the attribute into an "update" section.

>   And you can't specify random names for "variables".  They aren't
> variables, they are attributes with pre-defined types.  See
> raddb/dictionary.

>   Alan DeKok.

С уважением,
 Масандилов Илья
 Руководитель IT-отдела ООО "КДМС"              mailto:wingman at
                                                                                  (495) 585-0-737 доб. #666

More information about the Freeradius-Users mailing list