Thanks, Alan.
On Tue, Jul 01, 2003 at 11:18:51AM -0400, Alan DeKok wrote:
> Hielke Christian Braun <[EMAIL PROTECTED]> wrote:
> > In the users file i have setup one username and a DEFAULT entry. In
> > the SQL database i have all my other users setup. Everything works
> > fine. But when the one user in the users file is authenticate, the
> > SQL server is still queried from the radius. Is their some way to stop
> > the radius from going to the SQL after it finds the user in the
> > file?
>
> doc/configurable_failover
>
> You should be able to set up the block so that only a 'notfound'
> from 'files causes the SQL module to be executed.
>
authorize {
# preprocess
# digest
# counter
# attr_filter
# suffix
files {
notfound = 1
noop = 2
ok = return
updated = 4
fail = return
reject = return
userlock = return
invalid = return
handled = return
}
sql
}
did the trick.
Best regards,
Christian.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html