rlm_sqlcounter + PostgreSQL problem

Miguel Cabrera mfcabrera at gmail.com
Thu Jul 7 18:20:08 CEST 2005


Hi erveryone, I make it work, I know how but not why:

It wast working beacause by default is uses some-kind of modele called
sqlcca3 which seems doesn't exist. I chaged to sql and worked fine. I
other words I did this:
original:
sqlcounter dailycounter {
                driver = "rlm_sqlcounter"
                counter-name = Daily-Session-Time
                check-name = Max-Daily-Session
                sqlmod-inst = sqlcca3
                key = User-Name
                reset = daily
(...)
    }  
I changed the parameter sqlmod-inst to sql.

Well i'm pretty new to this (4 days using radius ;)  and maybe I'm
wrong but  I think xlat.c/radius_xlat() or xlat.c/decode_attribute 
function should complain when the module does not exist.
I'll try to make a patch or something if someone tell I'm right. 

Thank you all.
Miguel.




More information about the Freeradius-Users mailing list