Maybe I'm not understanding. Here is a snippet from my radiusd.conf file:
counter {
filename = ${raddbdir}/db.counter
key = User-Name
count-attribute = Acct-Session-Time
reset = daily
counter-name = Daily-Session-Time
check-name = Max-Daily-Session
counter-name = Weekly-Session-Time
check-name = Max-Weekly-Session
allowed-servicetype = Framed-User
cache-size = 5000
}
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Kostas
Kalevras
Sent: Thursday, January 09, 2003 6:30 PM
To: [EMAIL PROTECTED]
Subject: RE: Allowed Session
On Thu, 9 Jan 2003, Duane Barnes wrote:
> Well, I got past that error, now I'm receiving: Error: rlm_sql:
> unknown attribute Max-Weekly-Session
I hope you are clever enough to figure it out yourself.
hint: Add *both* daily and weekly counter module instances in the
instantiate section
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]] On Behalf Of Kostas
> Kalevras
> Sent: Thursday, January 09, 2003 6:16 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Allowed Session
>
>
> On Thu, 9 Jan 2003, Duane Barnes wrote:
>
> > I believe I have it setup correctly, but I get this error in the
> > radius.log:
> > Error: rlm_sql: unknown attribute Max-Daily-Session
> > Thu Jan 9 18:07:04 2003 : Error: rlm_sql: Error getting data from
> database
> > Thu Jan 9 18:07:04 2003 : Error: rlm_sql: SQL query error;
> > rejecting
> user
>
> Add the counter module in your instantiate section
>
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]] On Behalf Of Kostas
> > Kalevras
> > Sent: Thursday, January 09, 2003 5:45 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: Allowed Session
> >
> >
> > On Thu, 9 Jan 2003, Duane Barnes wrote:
> >
> > > Hello,
> > >
> > > I am using the newest version of Free Radius, and I have a
> > > question about the dialup_admin interface. There is a section
> > > stating: Allowed Session user can login for 39 minutes, 23 seconds
> > > . How do I make this unlimited?
> >
> > The Allowed Session is calculated from the daily and weekly session
> > times. To be able to change the daily session limit you should open
> > the user_edit.attrs and uncomment the Max-Daily-Session entry. As
> > long as you have a corresponding counter module instance (check-name
> > =
> > Max-Daily-Session) you will be able to change the allowed daily
> > session for the user. Set it to a very large number and you should be
> > ok.
> >
> > >
> > >
> > > -
> > > 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
> >
> >
> > -
> > 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
>
>
> -
> 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
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html