Does Attribute virtual-server exist?

Timmy moonyhk at netscape.net
Fri Aug 14 13:24:50 CEST 2015


> On Wed, Aug 12, 2015 at 05:53:30PM +0800, Timmy wrote:
>>> what is your policy for virtual-server? usually this is done in eg clients.conf
>>> to state that the request should go into a particular V-S  - in which case
>>> the %{client:virtual_server} should do you
>>>
>> Thanks for your valuable opinion.
>> It seems that virtual server name cannot be a check attribute.  I am
>> thinking how to set up 2 independent sql db for this purpose.
> Example
>
> update control {
>   Tmp-String-0 := "%{client:virtual_server}"
> }
>
> then use Tmp-String-0 in your SQL DB.
>
> Matthew
Hey Newton,
Thanks for your valuable hint.  Is it compatible with my freeradius v
2.2.7 server?

It is new to me.  I am learning.

If your technique works, I don't need a 2nd mysql db  ;)


More information about the Freeradius-Users mailing list