CalledStationID
tnt at kalik.co.yu
tnt at kalik.co.yu
Sat Jul 28 03:10:37 CEST 2007
You could add CalledStationId field to the radgroupreply table and modify
authorize_group_reply_query to check that that field is equal to
%{Called-Station-Id}.
Ivan Kalik
Kalik Informatika ISP
Dana 27/7/2007, "Jeffrey Sewell" <jeffrey.sewell at gmail.com> piše:
>Could the same thing apply if I'm using MySQL instead of the users
>file? Maybe a separate sql query based on calledStationID?
>
>On 7/27/07, tnt at kalik.co.yu <tnt at kalik.co.yu> wrote:
>> users file:
>>
>> DEFAULT Called-Station-Id == "hotspot1"
>> reply 1,
>> reply 2,
>> ...
>>
>> DEFAULT Called-Station-Id == "hotspot100"
>> reply 1,
>> reply 2,
>> ...
>>
>> Ivan Kalik
>> Kalik Informatika ISP
>>
>>
>>
>> Dana 27/7/2007, "Jeffrey Sewell" <jeffrey.sewell at gmail.com> pi�e:
>>
>> >I'm trying to solve a design issue and wonder if anyone has done
>> >something similar with hotspots. I would like to send back different
>> >values in the VSAs when a user logs in from one calledStationID vs
>> >another.
>> >
>> >For example. User joe logs in from hotspot1. the calledStationID is
>> >sent. FreeRADIUS takes that and sends back the local DNS server IP
>> >address (or whatever is specific to that region) instead of the one
>> >tied to, say, hotspot100.
>> >
>> >The goal is to allow me to setup different regions in FreeRADIUS with
>> >region-specific parameters.
>> >
>> >I had some things that I thought would work, but I'm wondering how
>> >others have solved this problem.
>> >
>> >Jeffrey
>> >-
>> >List info/subscribe/unsubscribe? See http://www.freeradius.org/list/usershtml
>> >
>> >
>>
>> -
>> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>>
>
>-
>List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>
>
More information about the Freeradius-Users
mailing list