Kristina Pfaff-Harris <[EMAIL PROTECTED]> wrote:
> Quick question: is it possible to do accounting and authorization from/to
> two different MySQL servers? Basically, I'd like auth to get data out of
> tables on one server, and send accounting to a separate server.

  Yes.

  You'll need two different instances of the SQL module, and two SQL
configuration files, but it should work.

> Haven't seen anything in the docs (or I haven't looked in the right
> place), and the sql conf seems to only have one possible value for server,
> login, and password.

  Yes, but the entire 'sql.conf' file is the configuration for one
instance of the rlm_sql module.  If you want two instances, you need
two sql blocks:

  sql sql1 {
  ...
  }

  sql sql2 {
  ...
  }


  Just like for any other module.  But since the SQL configurations
are so huge, they were put into a seperate file.

  Alan DeKok.

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

Reply via email to