Hello,
I have a goal of allowing access via the Called-Station-ID based on the
users Group. I am currently using the sql (mysql) module for the Group
definition. In my radiusd.conf authorize section I have the sql listed
before files ie..
sql
files
in my users file I have an entry that looks like:
DEFAULT Called-Station-ID =~ "800|888|866", Group == "tollfree"
Fall-Through = No
The intent is that anyone in the "tollfree" group according to the sql query
be allowed if they have a Called-Station-ID of 800 or 888 or 866. How do I
get an attribute populated first by the SQL query that I can use in the
expression in the users file? I got the Group attribute from the old users
format.. it does not work..
If there is a better way to do this... please let me know.
Thanks,
John Gruber
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html