usergroup problems with separate auth and accounting databases

Alan DeKok aland at deployingradius.com
Thu Aug 26 22:53:13 CEST 2010


Trey Scarborough wrote:
> All I am trying to do is run the radius auth querys on a database on one
> machine and the accounting on another in another database. The problem I
> am seeing is that when the additional sql configuration is put in for
> the  accounting database it begins to use that configuration for the
> group_membership_query

  Uh... no.  Nothing in the SQL accounting configuration uses the group
membership query.  See the source code.

> which is not in the accounting database and
> fails. If I remove the sql-auth from the accounting configuration it
> runs fine using the rad-auth sql configuration. Here is the exerts from
> my configuration. I am trying to set some radreply items with sql and
> some by the users file by group. This works fine until I try to seperate
> the databases.

  Let me guess... you have policies for accounting which use "SQL-Group"?

  Alan DeKok.



More information about the Freeradius-Users mailing list