Hi All,

No idea if anyone remembers me from the old Cistron list, but we are
finally upgrading to Freeradius.

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.

accounting {
    detail
    group {
      sql1 {
        fail     = 1
        notfound = 2
        noop     = return
        ok       = return
        updated  = return
        reject   = return
        userlock = return
        invalid  = return
        handled  = return
      }
      sql2 {
        fail     = 1
        notfound = 2
        noop     = return
        ok       = return
        updated  = return
        reject   = return
        userlock = return
        invalid  = return
        handled  = return
      }
}

Does work correctly, only logging to the second server when the first
server is down or other wise has an error.

Great work and all the fancy mysql is really nice.

Regards,

Rick

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

Reply via email to