On Wed, Aug 1, 2012 at 7:20 PM, Kaya Saman <[email protected]> wrote:
> IF %User-Name notfound IN SQL
>

This one might not work the way you intended. What you've done so far,
the "=" part says "add this attribute if it doesn't already exist"
(e.g. not in SQL)

If you HAVE to do "notfound" check, something like this MIGHT work

authorize {

sql
if (notfound) {
...
  }

}

> Accept AND Provision onto VLAN 80 (my demo guest vlan in this case but
> could be any number (n))

Then just add Auth-Type = Accept inside the update block.

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

Reply via email to