Does Attribute virtual-server exist?
Dear All Freeradius Developers and Users, My servers are running Freeradius v2.2.7 and 2.2.8. Is there any existing attribute related to virtual_server? 1. If yes, to which dictionary does it belong? 2. If no, how do I define it? I think I am in need of it. I want to bind each subscriber login ID to his virtual server, so that if he logs in from other servers to which he has not subscribed, he will be kicked. Thanks for your precious opinion in advance. Yours Faithfully, Timmy
Hi,
I think I am in need of it. I want to bind each subscriber login ID to his virtual server, so that if he logs in from other servers to which he has not subscribed, he will be kicked.
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 (in recent releases, any defined attribute. real or made up, of clients can be used in the server policy) alan
Hi,
I think I am in need of it. I want to bind each subscriber login ID to his virtual server, so that if he logs in from other servers to which he has not subscribed, he will be kicked. 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
(in recent releases, any defined attribute. real or made up, of clients can be used in the server policy)
alan Hello Alan, 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.
Timmy
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 -- Matthew Newton, Ph.D. <mcn4@le.ac.uk> Systems Specialist, Infrastructure Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom For IT help contact helpdesk extn. 2253, <ithelp@le.ac.uk>
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 ;)
participants (3)
-
A.L.M.Buxey@lboro.ac.uk -
Matthew Newton -
Timmy