Thanks for reply
But in the sql.conf there are only authorise and accounting queries only. Can I add my query end of to that queries. Then how ?
What I would like to do is After I received accounting query. I need to do some calculation and update some tables on 2 different database.
What I would like to do is After I received accounting query. I need to do some calculation and update some tables on 2 different database.
Kevin Bonner <[EMAIL PROTECTED]> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Monday 15 December 2003 18:03, Amgaabaatar Purevjal wrote:
> Hello
> I need to put some custom query after I receive accounting packet. Where I
> should look into it? rlm_sql.c is that correct file? Or I could add into
> accounting query? Thanks
sql.conf (by default) is where you should specify any query. There are
defaults in there which can be modified so that they work with your local
table structure.
Kevin Bonner
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE/3kAk/9i/ml3OBYMRAi3RAKCKrHJWCBVZNDJKoArQdUN2XRJeSgCgmrMJ
ky0g9ymuz57CzJnBExTt+as=
=AbDr
-----END PGP SIGNATURE-----
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
