Re: user account expiration question

2005-01-25 Thread Albert Miles Enabe
Try the Expiration attribute in radcheck table.   Chuck <[EMAIL PROTECTED]> wrote: is there something easier to use than the Expire check item to expire users on or afer a certain date to trigger a deny response? No one in his right mind is going to sit there and even use a calculator for the numbe

Re: rlm_sqlcounter custom sql query

2004-04-23 Thread Albert Miles Enabe
Hi!   I think you can increase the user's Max-All-Session attribute by 36000 everytime he adds another 10 hours and also set or modify the user's Expiration attribute to a date that is 30 days from the date the new addition of 10 hours takes effect.   The user's Max-All-Session and Expiration attri

Re: Hotspot nearing completion

2004-02-24 Thread Albert Miles Enabe
>  "Daniel Baughman" <[EMAIL PROTECTED]> wrote:> > So from what I read it seems that I might be able to do something like > this: > > in the postgresql.conf define a new variable like this: > my_session_timeout = > "SELECT minutes_left from ${acct_tablex} where user = > '%{SQL-User-Name}' "

Re: Error compiling Freeradius-0.9.3 on FreeBSD 4.9

2004-02-13 Thread Albert Miles Enabe
>Albert Miles Enabe <[EMAIL PROTECTED]> wrote: >> I am trying to compile Freeradius-0.9.3 from ports collection with >> --with-experimental-modules on FreeBSD 4.9. I am interested in using >> rlm_sqlcounter. It seems to me that the errors appear when compiling &

Error compiling Freeradius-0.9.3 on FreeBSD 4.9

2004-02-12 Thread Albert Miles Enabe
Hi All,   I am trying to compile Freeradius-0.9.3 from ports collection with --with-experimental-modules on FreeBSD 4.9. I am interested in using rlm_sqlcounter. It seems to me that the errors appear when compiling rlm_smb. Any help on this?   Here are the errors:   Making static dynamic in rlm_smb

dialup users logs

2004-02-04 Thread Albert Miles Enabe
Greetings!PHP script: Dialup_Admin has that. You may modify the mysql queries to produce the results you need for your web-based query. Bash script:For my FreeBSD or Linux consoles, I devised this simple sh script to display radacct records and total time used for a particular user. You can ma

User Stats Program

2004-02-02 Thread Albert Miles Enabe
>From: "Johnno" <[EMAIL PROTECTED]> > >Hello All, > >I am running FreeRadius and Database (mysql) > >I am after a program that uses database where a user >can enter in there >username and password and it will display there >login's and total time >used.. > >Is there a program like this out there

Re: Exec-Program problem..

2004-01-23 Thread Albert Miles Enabe
>Thu, 22 Jan 2004, Alan DeKok ÐÉÓÁÌ(Á): > > > Andrei Loukinykh <[EMAIL PROTECTED]> wrote: > > > I'm trying to get my external program to work ( which is in fact - > > > a billing program for users' accounting) > > > > Which version are you using? If you're not using 0.9.3, upgrade to > > i