Ulrich Peters <[EMAIL PROTECTED]> wrote:
> I need to return the value of a calculation as the Session-Timeout.
> How should this be done?

  Somehow set the value of the attribute.

> I hoped to retrieve the full amount of time used by the user, but as
> it seems all I get is a boolean:

  I don't use the sqlcounter module, so I can't help much there.  I do
know that the intent is for it to do the "right thing", without too
many configuration changes.

> If I place  "Max-All-Session := 500" in radgroupcheck, for example,
> and the query returns the total amount of time used (greated than
> zero), I get just a "Session-Timeout = 500".

  <shrug>  Look at the source to see what it's doing, and why.

  Alan DeKok.

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

Reply via email to