(RADIATOR) question

queksteven at stsunpage.st.com.sg queksteven at stsunpage.st.com.sg
Fri Jul 18 05:32:07 CDT 2003


Hi Chris,

My advice for different time zone u should be using a stored procedure to
process the accounting event. The person might be said surfing 11pm and end
@2am. u will be charging 11-12am and the rest free.

We have implementing the rating using the stored procedure and it allows
flexibility as well.


Hope it help.



Mike McCauley <mikem at open.com.au>   18/07/2003 03:57 PM
Sent by: owner-radiator at open.com.au

                                                                                                                                      
              To:  "Chris" <authadmin at dctech.com.ph>, <radiator at open.com.au>                                                          
              cc:  (bcc: QUEK Steven/Prod Dev Dir/STSunPage/ST Group)                                                                 
              Subject: Re: (RADIATOR) question                                                                                        
                                                                                                                                      
                                                                                                                                      
                                                                                                                                      






Hello Chris,


On Fri, 18 Jul 2003 12:05 pm, Chris wrote:
> Hello list,
>
> I'm using radmin + radiator, Right now I want to do these to my system,
> please point me out to some examples or possible solutions:
>
> 1. How do I make first time users to base their starting usage from the
> moment they first logged into the system?

You could use an AcctSQLStatement that sets thir expiry date if it is
currently NULL. The the first successful session start will set their
expiry
date to, say the current date + 30 days (or whatever your policy is).


> 2. I want to implement an off
> peak time wherein when users login from 12am to 7am that their usage
won't
> be deducted during those specified time.

You could set up multiple Handlers, each with a different Time check items:

# off peak
<Handler Time=Al0000-0700>
             <AuthBy RADMIN>
                         # no AccountingTable or AcctColumnDef entries here
                         # means no accounting data inserted
                         ....
             </AuthBy>
</Handler>

# all the rest
<Handler>
             <AuthBy RADMIN>
                         ....
             </AuthBy>
</Handler>

The AuthBy RADMIN clauses would be
>
> thanks,
> chris
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.501 / Virus Database: 299 - Release Date: 7/14/2003

--
Mike McCauley                               mikem at open.com.au
Open System Consultants Pty. Ltd            Unix, Perl, Motif, C++, WWW
24 Bateman St Hampton, VIC 3188 Australia   http://www.open.com.au
Phone +61 3 9598-0985                       Fax   +61 3 9598-0955

Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS,
TTLS, PEAP etc on Unix, Windows, MacOS etc.

===
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.




[This e-mail is confidential and may also be privileged. If you are not the
intended recipient, please delete it and notify us immediately; you should
not copy or use it for any purpose, nor disclose its contents to any other
person. Thank you.]


===
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list