Re: New custom query - MySQL

Alan DeKok via Freeradius-Users <[email protected]>
Newsgroups gmane.comp.freeradius.user
Message-ID <[email protected]>
On Jul 12, 2025, at 2:22 AM, Rodrigo Prazim <[email protected]> wrote:
> I am trying to run a custom query in order to generate reports for the company.
> Here's the idea:
> Every time there is an authentication attempt, I would like to save the record in a separate table.

  Just run the query in place, in sites-enabled/default:

post-auth {
	...

	%{sql:"INSERT INTO ..."}

}

  Alan DeKok.

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.