> It's possible for sure, I'm using start/stop date/time, in Dialup-Admin
> is implemented something for callduration per month if I remember
> correctly. I changed the sql query in the Authorization Queries:
>
> authorize_check_query = "SELECT id,UserName,Attribute,Value,op FROM
> ${authcheck_table} WHERE Username = '%{SQL-User-Name}' AND onhold<>'Y'
> AND NOW() BETWEEN StartDate AND StopDate ORDER BY id"

Thanks,but how is the table ?I don't know very well sql .do you have an
example of the table?

Rob

>
> authorize_reply_query = "SELECT id,UserName,Attribute,Value,op FROM
> ${authreply_table} WHERE Username = '%{SQL-User-Name}' ORDER BY id"
>
> For the call-duration you'll have to calculate the 'Ascend-Maximum-Time'
> or something like that.
> Hope this gives you an idea on how to implement.
>
> Regards,
>
> Chris
>
> On Thu, 2003-06-12 at 11:49, Roberto Pioli wrote:
> > I want that a user can be authenticate the 14/6/2003 for 2 hours , and
not
> > other day.I want wirte this in the DB or ldap at tha biginning of the
month.
> > Or from 14/6 20/06 2003 for 4 hours at day.
> >
> > Is it possible with freeradius ?( I can use freeradius with ldap and
mysql)
> >
> > Thanks
> >
> > Roberto
> >
> >
> > -
> > 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