>That's easy enough:
>
>
>DEFAULT         Client-IP-Address == ip.of.nas1
>        Reply-Message += "You came in from NAS 1"
>        Fall-Through = Tes
>
>DEFAULT         Client-IP-Address == ip.of.nas2
>        Reply-Message += "You came in from NAS 2"
>        Fall-Through = Tes

I can get this to work fine if I put the DEFAULT entries in the users file, 
but I am trying to do this with SQL.  I can get it to work if I put the 
DEFAULT and users in the users file, or if I put the users in SQL and DEFAULT 
entries in the users file.

However I cannot get it to work if all the entries reside in SQL.  I have 
tried many combinations, but the default entries do not seem to have any 
effect in SQL.

Can I use default entries in SQL?  If not, then can I use groups between the 
users file and SQL groups table?  I need to do this because I need to reply 
based on group and NAS.  An example:

user1 is a member of nonfiltered group
user2 is a memeber of filtered group

If user1 or user2 dials into NAS1, reply Ascend-IP-Pool=0

If user1 dials into NAS2, reply Ascend-IP-Pool=1

If user2 dials into NAS2, reply Ascend-IP-Pool=2

Any ideas?





- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to