Rlm_sqlcounter log problem

tnt at kalik.net tnt at kalik.net
Wed Feb 25 16:08:33 CET 2009

>I have a little problem with freeradius. And i can't find any solution for it..
>We have logged failed login attempt following statement: (Its taken
>from Freeradius Wiki)
> Post-Auth-Type REJECT {
>        # Login failed: log to SQL database.
>        sql
> }
>However when we use rlm_sqlcounter this modle can't handled with above
>So how its possible to log users that Rejected by rlm_sqlcounter  module?

man unlang. Test for module return code and then run, for example, perl
script that will log to the database. You can't do sql inserts and
updates directly from unlang without source code changes.

Ivan Kalik
Kalik Informatika ISP

More information about the Freeradius-Users mailing list