On Mon, 26 Jul 2004, Shannon Sariman wrote:

> Hi Fellow FreeRadius Users,
>
> I have freeradius-0.9.3 configured with MySQL and experimental modules on a
> Linux RH 9.0 machine. I've been pulling my hair out trying to get a definite
> working solution with rlm_sqlcounter to restrict dialup user accounts to
> prescribed dial-up online access times. For example, 2 hours per user per
> day and disconnection after 2 hours is up. I tried changing sql instances
> like sqlcca3 to sql in my sqlcounter.conf to see if it would make any
> difference but still to no avail. I even had problems trying to compile
> (rmpbuild) the latest pre-release of version 1.0 of FreeRadius on my Linux
> RH 9.0 box and resorted back to using ver 0.9.3.
>
> I've noticed while searching previous archives of the freeradius mailing
> lists that there is another counter called "rlm_counter" but which works
> with the "users" file. Can I use this rlm_counter to work with my current
> setup of FreeRadius and MySQL? How can I do this if possible?

Where did you find that it works with the users file? What do you mean by that
exactly? rlm_counter keeps it's own database (in GDBM file) while configuration
can be in the users file or in a db (sql/ldap). By configuration i mean per user
limits. Keeping data in a gdbm file actually makes rlm_counter faster than sql
in installations where many rows of accounting are kept for each user.

rlm_counter is a stable module while rlm_sqlcounter is an experimental module
without a maintainer (as far as i know). Keep that in mind.

>
> Any help or hint is much appreciated.
>
> Regards,
>
> Shannon
>
>
>
> -
> 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

Reply via email to