accounting - no huntgroups

Arran Cudbard-Bell A.Cudbard-Bell at sussex.ac.uk
Wed Feb 13 13:18:49 CET 2008


Alan DeKok wrote:
> Arran Cudbard-Bell wrote:
>   
>> Woah, get that working with SQL and you have an insanely useful feature.
>> Oooo what VLANS does this NAS support, hmm i'll just check the client
>> VLAN tags. Where is this NAS located, hmm i'll just check the
>> arbitrarily populated location tag.
>>     
>
>   Err... why?  You can do that already:
>
>   if ("%{sql: SELECT ... WHERE client = %{client:shortname} ...}" ....
>
>   Alan DeKok.
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>   
Yeah ... I know.

It's just with static information, you don't really want to be querying 
the database again and again for each query. Lodging the information 
against the client is far more efficient, especially with VLAN 
information which isn't going to be changing regularly.

-- 
Arran Cudbard-Bell (A.Cudbard-Bell at sussex.ac.uk)
Authentication, Authorisation and Accounting Officer
Infrastructure Services | ENG1 E1-1-08 
University Of Sussex, Brighton
EXT:01273 873900 | INT: 3900




More information about the Freeradius-Users mailing list