In 2.0, much of the huntgroup functionality can be done with a little
bit of magic:

 client foo {
        ipaddr = 127.0.0.1
        secret = x
        huntgroup = foo # invent ANYTHING here! foo = bar, x = y, etc.
 }

  Then in unlang:

        ...
        if ("%{client:huntgroup}" == "foo") {
                ...
        }

  i.e. you can use the configuration files to add arbitrary "tags" to a
client, and then check them at run time.
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.


Who was meant to be updating the client list SQL features for 2.0 ?
  Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


--
Arran Cudbard-Bell ([EMAIL PROTECTED])
Authentication, Authorisation and Accounting Officer
Infrastructure Services | ENG1 E1-1-08 University Of Sussex, Brighton
EXT:01273 873900 | INT: 3900

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

Reply via email to