>>> same result with .
>>>
>>>
>>
>> Let's try a workaround. Get group name by executing query again in
>> authorize section:
>>
>> update control {
>> Tmp-String-0 := "%{sql:SELECT GroupName FROM radusergroup WHERE
>> UserName='%{User-Name}' ORDER BY priority}"
>> }
>>
>> "%{control:Tmp-String-0}" will hold group name then.
>>
>
>This already works .... the goal was to avoid mulplication of sql queries.
>But if there is no other solutions.....
>
I am not sure what's going on. "%{control:Sql-Group}" expands to an
empty string in unlang. But:
DEFAULT Sql-Group == "dialup"
matches in users file as expected. For that same request!?
Ivan Kalik
Kalik Informatika ISP
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html