Lasse Karstensen wrote:
> class=foo
> if user exists in bar-passwd.crypt: class = bar
> print "Class = $class"
See doc/configurable_failover. You can conditionally control which
modules get executed, based on whether or not a user was found by
another module.
authorize {
suffix
eap
mschap
files
group {
foo_passwd {
notfound = return
}
foo_files
}
...
}
Where "foo_files" is a variant of the "files" module, which "users"
file entries specifically to add Class for "foo".
Alan DeKok.
--
http://deployingradius.com - The web site of the book
http://deployingradius.com/blog/ - The blog
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html