I am trying to setup something where I can have multiple NAS devices where users can roam. Some NAS devices people will be able to have the first level of service free(sponsored NAS). I need to be able to identify and authenticate people who sign up to the free service to only be allowed to use the free spots and not take their free account to a paid location. I am looking at several possibilities of maybe adding a field with say usage = free or paid as an example and I want the NAS-Identifier, WISPr-Location-ID or theMS-CHAP-Domain to equal the "free" or "paid". The query would be something like WHERE usage = ${MS-CHAP-Domain} .... but I cannot figure out where and how to do this. Can anyone help and if you have another idea please let me know. -- View this message in context: http://old.nabble.com/special-query-for-authentication-tp27776513p27776513.h... Sent from the FreeRadius - User mailing list archive at Nabble.com.
Someone else might have to help out here, but I remember seeing something about using the huntgroups file, say: Free NAS-IP-Address == 192.168.1.1 Pay NAS-IP-Address == 192.168.1.2 And then maybe in the users file use: DEFAULT Huntgroup-Name == Free Service-Type = "Login-User", SomeOtherAttribute = "Free" DEFAULT Huntgroup-Name == Pay Service-Type = "Login-User", SomeOtherAttribute ="Pay" Maybe ?? Good Luck Bob
I failed to mention I would be sending the identifier based on the SSID. There would be 3 levels of service and the bottom level may be free on a sponsored hotspot. We want people to roam about between hotspots but not go from a free to paid. So the something in the identifier of the request sent like I listed would need to be querited unfortunantly. Matthew robert_w_brandt wrote:
Someone else might have to help out here, but I remember seeing something about using the huntgroups file, say:
Free NAS-IP-Address == 192.168.1.1 Pay NAS-IP-Address == 192.168.1.2
And then maybe in the users file use:
DEFAULT Huntgroup-Name == Free Service-Type = "Login-User", SomeOtherAttribute = "Free"
DEFAULT Huntgroup-Name == Pay Service-Type = "Login-User", SomeOtherAttribute ="Pay"
Maybe ??
Good Luck Bob - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- View this message in context: http://old.nabble.com/special-query-for-authentication-tp27776513p27779770.h... Sent from the FreeRadius - User mailing list archive at Nabble.com.
mwarren wrote:
I failed to mention I would be sending the identifier based on the SSID. There would be 3 levels of service and the bottom level may be free on a sponsored hotspot. We want people to roam about between hotspots but not go from a free to paid. So the something in the identifier of the request sent like I listed would need to be querited unfortunantly.
In 2.x: $ man unlang There isn't documentation describing exactly how write specific rules. Instead, there's documentation on how the rule syntax, and examples of that. Alan DeKok.
participants (3)
-
Alan DeKok -
Bob Brandt -
mwarren