Rick Macdougall <[EMAIL PROTECTED]> wrote:
> In our configuration and testing we came across one small bug in the
> accounting module.
>
> accounting {
> detail # always log to detail, stopping if it fails
> redundant {
> sql1 # try module sql1
> sql2 # if that's down, try module sql2
> handled # otherwise drop the request as
> # it's been "handled" by the "always"
> # module (see doc/rlm_always)
> }
> }
>
> Does not work, it logs to both servers.
Hmm... that's odd. It should only do so if the first returns fail.
> group {
> sql1 {
> fail = 1
> notfound = 2
...
> Does work correctly, only logging to the second server when the first
> server is down or other wise has an error.
I don't see why, the "accounting" function in rlm_sql *never*
returns "notfound".
Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html