I dive in the xlat.c code and I wonder if I must put in dictionnary file
or table something about max-all-session or if it must be added an
another case about max-all-session in the end of the code ?

Is counter time working with somebody ? If yes, what version or
modification have you done ?


thx
 

-----Message d'origine-----
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] De la part de EROS
Envoy� : mercredi 15 septembre 2004 20:52
� : [EMAIL PROTECTED]
Objet : RE : Sqlcounter pb 


I have installed the freeradius 1.1.0 pre0 and I have this same kind of
problem that I have with freeradius 1.0.0.

It seems to have a problem with xlat function. Could you help me ? :)

--------log------------
rlm_sqlcounter: Entering module authorize code
sqlcounter_expand:  'SELECT SUM(AcctSessionTime) FROM radacct WHERE
UserName='%{User-Name}''
radius_xlat:  'SELECT SUM(AcctSessionTime) FROM radacct WHERE
UserName='test001''
sqlcounter_expand:  '%{sql:SELECT SUM(AcctSessionTime) FROM radacct
WHERE UserName='test001'}'
WARNING: Attempt to use unknown xlat function, or non-existent attribute
in string %{sql:SELECT SUM(AcctSessionTime) FROM radacct WHERE
UserName='test001'}
radius_xlat:  ''
rlm_sqlcounter: (Check item - counter) is greater than zero
------------------------
 

-----Message d'origine-----
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] De la part de Alan
DeKok Envoy� : dimanche 12 septembre 2004 15:29 � :
[EMAIL PROTECTED]
Objet : Re: Sqlcounter pb 


"EROS" <[EMAIL PROTECTED]> wrote:
> When i try to connect for the first time it returns a correct
> session-timeout. But once I surf a little time and try to reconnect it

> returns the same session-timeou which is the total time allowed to the

> user.

  Does your NAS send accounting packets?  If not, none of the counter
modules will work.

  Alan DeKok.

- 
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html


- 
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html


-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to