Re: rlm_sqlcounter + PostgreSQL problem

2005-07-07 Thread Miguel Cabrera
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

Re: rlm_sqlcounter + PostgreSQL problem

2005-07-07 Thread Miguel Cabrera
the behaviour of the code (so i think its may be a bug). Another question, why does the rlm_sqlcounter comes with sqlcca3 as default sql module? What does it mean? is some kind of error? should I file a bug? Thanks. Miguel Cabrera. - List info/subscribe/unsubscribe? See http://www.freeradius.org

Re: rlm_sqlcounter + PostgreSQL problem

2005-07-07 Thread Miguel Cabrera
Hi, Alan, ¿Radius?, Everyone On 7/7/05, Alan DeKok [EMAIL PROTECTED] wrote: Miguel Cabrera [EMAIL PROTECTED] wrote: Do you mean something like: radiusd -X -xx ? : I've done it, chek the output (specialy the highlighted text) at http://pastebin.com/309030 Hmm... Odd. Another

rlm_sqlcounter + PostgreSQL problem

2005-07-05 Thread Miguel Cabrera
Hi list! I have a problem with the rlm_sqlcounter. It send the Session-Time-Out correctly but when if check the time limit against the data base it always return 0. I've added some debugging output and recompile. This is the output: Tue Jul 5 14:46:51 2005 : Debug: rlm_sqlcounter: Entering

Re: rlm_sqlcounter + PostgreSQL problem

2005-07-05 Thread Miguel Cabrera
On 7/5/05, Carlos Martínez-Troncoso Cera [EMAIL PROTECTED] wrote: How are you testing? in the radacct table see if AcctSessionTime has some value, this is the data used for the counter, if this value is 0, the query is 0, you can test with NTRadPing sending in AcctSessionTime some value. Well