On Tue, 21 Sep 2004, Shannon Sariman wrote:
> Hi All,
>
> I'm using FreeRadius-0.9.3 with MySQL and Dialup Admin configured on a Linux
> Red Hat 9.0 machine. How can I adjust the "Subscription Analysis" tables so
> that the daily limit hours reflect different User Group settings. For
> example, I have two groups, one called Dynamic and the other called Monthly.
> The Dynamic group is allotted 2 hours per day and the Monthly group has no
> daily limit restrictions but a total of 60 hrs per month. Which means, I
> would like the Monthly group user's Subscription Analysis to reflect a non
> Daily Limit restriction. At the moment both groups reflect the Dynamic
> group's settings, i.e. a Daily Limit description (2 hours per day) meant
> only for the Dynamic group still showing for the Monthly group. How can I
> adjust Dialup Admin's admin.conf to make the appropriate changes?
The
counter_default_daily: 14400
counter_default_weekly: 72000
counter_default_monthly: none
entries in admin.conf are used only to set the default values for the
corresponding counters if no values were found in the user/group settings. Check
conf/sql.attrmap in dialupadmin and set Max-{Daily,Monthly}-Session to your
corresponding attributes in sql.
Enable sql_debug to see what's going on exactly. Things should work after that.
>
> Rgds,
>
> Shannon
>
> "A life is not fully lived without mistakes, and therein lies knowledge that
> becomes wisdom, but only if you learn from your mistakes as your teacher of
> life's lessons."
>
> ~ Katherine .G. MacRae
>
>
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>
--
Kostas Kalevras Network Operations Center
[EMAIL PROTECTED] National Technical University of Athens, Greece
Work Phone: +30 210 7721861
'Go back to the shadow' Gandalf
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html