Re: (RADIATOR) portmaster and User-Name changes

2003-07-18 Thread Hugh Irvine
Hello Michael -

A more usual and portable method of doing this is to use the Class 
attribute and log it in your accounting.

	AddToReply Class = "[EMAIL PROTECTED]"

regards

Hugh

On Saturday, Jul 19, 2003, at 04:18 Australia/Melbourne, Michael 
Shoemaker wrote:

Greetings...

I have been able to strip out the username and replace it with a new 
username
for our accounting information with every type of nas other than
portmaster's. I was wondering if anyone else had come up with a 
solution. I
have read in the archives of someone with a similar issue, but not
resolutions.

the way I am currently doing it is using

StripFromReply User-Name
AddToReply User-Name="[EMAIL PROTECTED]"
When doing this with a portmaster, the customer is able to connect, 
but no
accounting information is sent to the accounting server.

I have above this in the realm

StripFromRequest User-Name
AddToRequest User-Name="[EMAIL PROTECTED]"
for authentication purposes. This didn't make any changes to the 
accounting
data, thus the reply modifications. As I said above, all our other 
nas's are
able to authenticate and pass the new correct user-name to the 
accounting
server.

Anyway, I was hoping there was a solution to this other than logging 
into
every single portmaster we have and changing where it is pointing 
accounting.

Thanks for any help you may be able to provide.

Michael Shoemaker
===
Archive at http://www.open.com.au/archives/radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

NB: have you included a copy of your configuration file (no secrets),
together with a trace 4 debug showing what is happening?
--
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows 95/98/2000, NT, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
===
Archive at http://www.open.com.au/archives/radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.


Re: (RADIATOR) Problem with Handlers, it seems

2003-07-18 Thread Hugh Irvine

Hello Tim -

This looks like an error in the configuration file, probably in an AddToReply or similar.

Without seeing the configuration file it is hard to say for sure.

regards

Hugh


On Saturday, Jul 19, 2003, at 03:28 Australia/Melbourne, Timothy G. Wells wrote:

Greetings,

I upgraded from an older version of Radiator to the latest. After making a couple of simple mods to the config file, it seems Handlers aren't being handled correctly.

But this appears in the log:

Fri Jul 18 13:23:22 2003: ERR: Bad attribute=value pair: Client-Id = IPsentry
Fri Jul 18 13:23:22 2003: ERR: Bad attribute=value pair: Called-Station-Id=/6211040|4000/
Fri Jul 18 13:23:22 2003: ERR: Bad attribute=value pair: Called-Station-Id =/4400|6184647|4991/
Fri Jul 18 13:23:22 2003: ERR: Bad attribute=value pair: Realm=goodnews.net
Fri Jul 18 13:23:22 2003: ERR: Bad attribute=value pair: Called-Station-Id = /7660110|7660111/
Fri Jul 18 13:23:22 2003: ERR: Bad attribute=value pair: Client-Identifier = CNT
Fri Jul 18 13:23:22 2003: ERR: Bad attribute=value pair: Realm=tiltingtower.net
Fri Jul 18 13:23:22 2003: ERR: Bad attribute=value pair: Realm=plexusmedia.com
Fri Jul 18 13:23:22 2003: ERR: Bad attribute=value pair: Realm=cinternet.net
Fri Jul 18 13:23:22 2003: ERR: Bad attribute=value pair: Called-Station-Id = 7660110
Fri Jul 18 13:23:22 2003: ERR: Bad attribute=value pair: Called-Station-Id = /5791996/
Fri Jul 18 13:23:22 2003: ERR: Bad attribute=value pair: Realm=spsp.net
Fri Jul 18 13:23:22 2003: ERR: Bad attribute=value pair: Called-Station-Id = /2721300/
Fri Jul 18 13:23:22 2003: ERR: Bad attribute=value pair: Realm=cinti.net
Fri Jul 18 13:23:22 2003: ERR: Bad attribute=value pair: Realm=quic.net
Fri Jul 18 13:23:22 2003: ERR: Bad attribute=value pair: Client-Identifier=ZT

These are Realm and Handlers. The dictionary carries those items.

Thanks,

-- Tim






Timothy G. Wells, president  513-662-4443 x11
Good News Internet Services  fax 513-662-8461
[EMAIL PROTECTED] http://www.goodnews.net

This is the day the Lord has made;
let us rejoice and be glad in it. (Ps 118:24, NIV)

NB: have you included a copy of your configuration file (no secrets), 
together with a trace 4 debug showing what is happening?

-- 
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows 95/98/2000, NT, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.



Re: (RADIATOR) Queries on proxy radius and config file auto refresh on Radiator Radius

2003-07-18 Thread Hugh Irvine

Hello Brian -

For your first question, you can use the AuthBy SQLRADIUS clause for your radius proxy targets, and you can use a Client DEFAULT to match any number of client devices.


.


See section 6.45 in the Radiator 3.6 reference manual ("doc/ref.html").

For your second question, you can send the radiusd process a HUP signal to perform a warm restart.

See section 7 in the manual.

regards

Hugh


On Saturday, Jul 19, 2003, at 01:22 Australia/Melbourne, Brian CHNG Sing Yong wrote:

Hi

I've just deployed Radiator Radius in my workplace but am facing some problems with having to make changes so often and creating many downtimes on my servers. Would appreciate if you can help me with the following questions. Thanks

First Question

I'm doing proxy radius to multiple host and I want to minimize having to configure the Radius Host each time a new RAS is deployed, by default the Radiator will forward all Radius Attributes to the Radius host and on the Radius host I would need to configure the NAS-IP so that it will accept the authentication/accounting packet from the RAS Client. I'm looking at how to minimize changes made on the Radius Host as I would need to restart the Radius Host whenever a change is made. Can I configure the Radiator in such a way that it will strip off the NAS-IP and replace it with its own IP as the NAS-IP so that the Radius host will only see one NAS-IP or RAS Client IP? In this way I'll never need to add RAS Client on the Radius host. Or is there any other better way to tackle this? Thanks

eg

RAS1 à Radiator1 à Radius1

RAS2 à Radiator1 à Radius2

RAS3 à Radiator1 à Radius3

Second Question

Can I configure the Radiator to re-read the config file or clear the cache at regular interval so that any changes made on the config file can be refreshed and take effect without having to restart the processes which also means downtime needed, I'm trying to figure out how the Radiator can be configured to minimize downtime. Thanks

Regards

Brian


This email is confidential and privileged.  If you are not the intended recipient, you must not view, disseminate, use or copy this email. Kindly notify the sender immediately, and delete this email from your system. Thank you.

Please visit our website at www.starhub.com



NB: have you included a copy of your configuration file (no secrets), 
together with a trace 4 debug showing what is happening?

-- 
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows 95/98/2000, NT, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.



(RADIATOR) Radusage table not updated.

2003-07-18 Thread Michael Bellears
Radiator/Radmin is auth/acct for dialup users (MAX6000/PM3's), and also DSL 
users(Cisco7200).

Dialup users acct data is successfully updated in the RADUSAGE table, but DSL clients 
are not(RADONLINE is working for both).

I see the insert in trace4:

Sat Jul 19 08:05:51 2003: DEBUG: do query is: insert into RADUSAGE 
(TIME_STAMP,USERNAME,ACCTDELAYTIME,DNIS,ACCTSTATUSTYPE,ACCTSESSIONID,NASPORT,NASIDENTIFIER)
 values (1058565951,'[EMAIL 
PROTECTED]',0,'3:2.261#184571819##speed:UBR:256#/',1,'980F',1,'203.63.121.145')

And also the insert in the mysql logs:

 88528 Query   insert into RADUSAGE 
(TIME_STAMP,USERNAME,ACCTDELAYTIME,DNIS,ACCTSTATUSTYPE,ACCTSESSIONID,NASPORT,NASIDENTIFIER)
 values (1058565951,'[EMAIL 
PROTECTED]',0,'3:2.261#184571819##speed:UBR:256#/',1,'980F',1,'203.63.121.145')

But no results via Radmin Web Interface, or via CLI:

mysql> select 
USERNAME,TIME_STAMP,ACCTSESSIONID,ACCTSESSIONTIME,FRAMEDIPADDRESS,NASIDENTIFIER,NASPORT,ACCTSTATUSTYPE
 from RADUSAGE where USERNAME = '[EMAIL PROTECTED]'  order by TIME_STAMP;
ERROR 1032: Can't find record in 'RADUSAGE'

I see no errors in mysql.err log.

A dialup users succesful insert FYR:

Trcae4:
Sat Jul 19 08:06:17 2003: DEBUG: do query is: insert into RADUSAGE 
(Connect_info,ACCTSESSIONTIME,TIME_STAMP,USERNAME,Client_Phone_Number,FRAMEDIPADDRESS,ACCTDELAYTIME,DNIS,ACCTINPUTOCTETS,ACCTSTATUSTYPE,ACCTSESSIONID,ACCTOUTPUTOCTETS,NASPORT,NASIDENTIFIER)
 values 
('49333',863,1058565977,'eplan','755103035','203.149.64.51',0,'55848000',10315,2,'425834844',45523,20206,'203.149.64.4')

MySQL Log:
88528 Query   insert into RADUSAGE 
(Connect_info,ACCTSESSIONTIME,TIME_STAMP,USERNAME,Client_Phone_Number,FRAMEDIPADDRESS,ACCTDELAYTIME,DNIS,ACCTINPUTOCTETS,ACCTSTATUSTYPE,ACCTSESSIONID,ACCTOUTPUTOCTETS,NASPORT,NASIDENTIFIER)
 values 
('49333',863,1058565977,'eplan','755103035','203.149.64.51',0,'55848000',10315,2,'425834844',45523,20206,'203.149.64.4')

Thanks in advance.

Regards,
MB
===
Archive at http://www.open.com.au/archives/radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.


RE: (RADIATOR) Queries on proxy radius and config file auto refresh on Radiator Radius

2003-07-18 Thread Frank Danielson
You could use a PreHandlerHook in your Client clause like this->


Secret somesecret
PreHandlerHook sub
{${$_[0]}->change_attr('NAS-IP-Address','YYY.YYY.YYY.YYY');}


This may cause unintended consequences with your downstream RADIUS servers
since all requests will now appear to be coming from the same NAS. I
personally would not reccomend it.



-Original Message-
From: Brian CHNG Sing Yong [mailto:[EMAIL PROTECTED]
Sent: Friday, July 18, 2003 11:23 AM
To: '[EMAIL PROTECTED]'
Cc: CHEW Yong Sin
Subject: (RADIATOR) Queries on proxy radius and config file auto refresh on
Radiator Radius


Hi 
I've just deployed Radiator Radius in my workplace but am facing some
problems with having to make changes so often and creating many downtimes on
my servers. Would appreciate if you can help me with the following
questions. Thanks
First Question
I'm doing proxy radius to multiple host and I want to minimize having to
configure the Radius Host each time a new RAS is deployed, by default the
Radiator will forward all Radius Attributes to the Radius host and on the
Radius host I would need to configure the NAS-IP so that it will accept the
authentication/accounting packet from the RAS Client. I'm looking at how to
minimize changes made on the Radius Host as I would need to restart the
Radius Host whenever a change is made. Can I configure the Radiator in such
a way that it will strip off the NAS-IP and replace it with its own IP as
the NAS-IP so that the Radius host will only see one NAS-IP or RAS Client
IP? In this way I'll never need to add RAS Client on the Radius host. Or is
there any other better way to tackle this? Thanks
===
Archive at http://www.open.com.au/archives/radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.


(RADIATOR) portmaster and User-Name changes

2003-07-18 Thread Michael Shoemaker
Greetings...

I have been able to strip out the username and replace it with a new username 
for our accounting information with every type of nas other than 
portmaster's. I was wondering if anyone else had come up with a solution. I 
have read in the archives of someone with a similar issue, but not 
resolutions.

the way I am currently doing it is using 

StripFromReply User-Name
AddToReply User-Name="[EMAIL PROTECTED]"

When doing this with a portmaster, the customer is able to connect, but no 
accounting information is sent to the accounting server.

I have above this in the realm 

StripFromRequest User-Name
AddToRequest User-Name="[EMAIL PROTECTED]" 

for authentication purposes. This didn't make any changes to the accounting 
data, thus the reply modifications. As I said above, all our other nas's are 
able to authenticate and pass the new correct user-name to the accounting 
server.

Anyway, I was hoping there was a solution to this other than logging into 
every single portmaster we have and changing where it is pointing accounting.

Thanks for any help you may be able to provide.

Michael Shoemaker
===
Archive at http://www.open.com.au/archives/radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.


(RADIATOR) Problem with Handlers, it seems

2003-07-18 Thread Timothy G. Wells



Greetings,
I upgraded from an older version of Radiator to the latest. After making
a couple of simple mods to the config file, it seems Handlers aren't
being handled correctly.
But this appears in the log:
Fri Jul 18 13:23:22 2003: ERR: Bad attribute=value pair: Client-Id =
IPsentry
Fri Jul 18 13:23:22 2003: ERR: Bad attribute=value pair:
Called-Station-Id=/6211040|4000/
Fri Jul 18 13:23:22 2003: ERR: Bad attribute=value pair:
Called-Station-Id =/4400|6184647|4991/
Fri Jul 18 13:23:22 2003: ERR: Bad attribute=value pair:
Realm=goodnews.net
Fri Jul 18 13:23:22 2003: ERR: Bad attribute=value pair:
Called-Station-Id = /7660110|7660111/
Fri Jul 18 13:23:22 2003: ERR: Bad attribute=value pair:
Client-Identifier = CNT
Fri Jul 18 13:23:22 2003: ERR: Bad attribute=value pair:
Realm=tiltingtower.net
Fri Jul 18 13:23:22 2003: ERR: Bad attribute=value pair:
Realm=plexusmedia.com
Fri Jul 18 13:23:22 2003: ERR: Bad attribute=value pair:
Realm=cinternet.net
Fri Jul 18 13:23:22 2003: ERR: Bad attribute=value pair:
Called-Station-Id = 7660110
Fri Jul 18 13:23:22 2003: ERR: Bad attribute=value pair:
Called-Station-Id = /5791996/
Fri Jul 18 13:23:22 2003: ERR: Bad attribute=value pair:
Realm=spsp.net
Fri Jul 18 13:23:22 2003: ERR: Bad attribute=value pair:
Called-Station-Id = /2721300/
Fri Jul 18 13:23:22 2003: ERR: Bad attribute=value pair:
Realm=cinti.net
Fri Jul 18 13:23:22 2003: ERR: Bad attribute=value pair:
Realm=quic.net
Fri Jul 18 13:23:22 2003: ERR: Bad attribute=value pair:
Client-Identifier=ZT
These are Realm and Handlers. The dictionary carries those
items.
Thanks,
-- Tim



Timothy G. Wells,
president 
513-662-4443 x11
Good News Internet
Services 
fax 513-662-8461
[EMAIL PROTECTED]   
http://www.goodnews.net
This is the day the Lord has made; 
let us rejoice and be glad in it. (Ps 118:24, NIV) 



RE: (RADIATOR) Queries on proxy radius and config file auto refresh on Radiator Radius

2003-07-18 Thread Matthew Trout
Just kill -HUP the radiusd process when you've changed the configs

Clients won't notice the difference - the re-read of the configs is very
fast

-Original Message-
From: Brian CHNG Sing Yong [mailto:[EMAIL PROTECTED] 
Sent: 18 July 2003 16:23
To: '[EMAIL PROTECTED]'
Cc: CHEW Yong Sin
Subject: (RADIATOR) Queries on proxy radius and config file auto refresh on
Radiator Radius


Hi 
I've just deployed Radiator Radius in my workplace but am facing some
problems with having to make changes so often and creating many downtimes on
my servers. Would appreciate if you can help me with the following
questions. Thanks
First Question
I'm doing proxy radius to multiple host and I want to minimize having to
configure the Radius Host each time a new RAS is deployed, by default the
Radiator will forward all Radius Attributes to the Radius host and on the
Radius host I would need to configure the NAS-IP so that it will accept the
authentication/accounting packet from the RAS Client. I'm looking at how to
minimize changes made on the Radius Host as I would need to restart the
Radius Host whenever a change is made. Can I configure the Radiator in such
a way that it will strip off the NAS-IP and replace it with its own IP as
the NAS-IP so that the Radius host will only see one NAS-IP or RAS Client
IP? In this way I'll never need to add RAS Client on the Radius host. Or is
there any other better way to tackle this? Thanks
eg
RAS1 à Radiator1 à Radius1
RAS2 à Radiator1 à Radius2
RAS3 à Radiator1 à Radius3
Second Question
Can I configure the Radiator to re-read the config file or clear the cache
at regular interval so that any changes made on the config file can be
refreshed and take effect without having to restart the processes which also
means downtime needed, I'm trying to figure out how the Radiator can be
configured to minimize downtime. Thanks
Regards
Brian


This email is confidential and privileged.  If you are not the intended
recipient, you must not view, disseminate, use or copy this email. Kindly
notify the sender immediately, and delete this email from your system. Thank
you.
Please visit our website at www.starhub.com 
===
Archive at http://www.open.com.au/archives/radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.


(RADIATOR) Queries on proxy radius and config file auto refresh on Radiator Radius

2003-07-18 Thread Brian CHNG Sing Yong
Title: Queries on proxy radius and config file auto refresh on Radiator Radius





Hi 

I've just deployed Radiator Radius in my workplace but am facing some problems with having to make changes so often and creating many downtimes on my servers. Would appreciate if you can help me with the following questions. Thanks

First Question

I'm doing proxy radius to multiple host and I want to minimize having to configure the Radius Host each time a new RAS is deployed, by default the Radiator will forward all Radius Attributes to the Radius host and on the Radius host I would need to configure the NAS-IP so that it will accept the authentication/accounting packet from the RAS Client. I'm looking at how to minimize changes made on the Radius Host as I would need to restart the Radius Host whenever a change is made. Can I configure the Radiator in such a way that it will strip off the NAS-IP and replace it with its own IP as the NAS-IP so that the Radius host will only see one NAS-IP or RAS Client IP? In this way I'll never need to add RAS Client on the Radius host. Or is there any other better way to tackle this? Thanks

eg

RAS1 à Radiator1 à Radius1

RAS2 à Radiator1 à Radius2

RAS3 à Radiator1 à Radius3

Second Question

Can I configure the Radiator to re-read the config file or clear the cache at regular interval so that any changes made on the config file can be refreshed and take effect without having to restart the processes which also means downtime needed, I'm trying to figure out how the Radiator can be configured to minimize downtime. Thanks

Regards

Brian


This email is confidential and privileged.  If you are not the intended recipient, you must not view, disseminate, use or copy this email. Kindly notify the sender immediately, and delete this email from your system. Thank you.

Please visit our website at www.starhub.com





Re: (RADIATOR) question

2003-07-18 Thread Chris

> AcctSQLStatement update RADUSERS set VALIDFROM=now where VALIDFROM IS NULL
and

Oh, ok thanks I get it, now how can my Radmin database set VALIDFROM
initially to NULL, I tried to test it using radmin editUser.pl web script
and it gave out this error: Not updated because: Invalid date/time format in
'Valid from'

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

This Email is protected by RAV AntiVirus Security Software for SuSE Linux eMail Server

===
Archive at http://www.open.com.au/archives/radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.


Re: (RADIATOR) question

2003-07-18 Thread Mike McCauley
Hello Chris,

On Fri, 18 Jul 2003 09:56 pm, Chris wrote:
> > 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).
>
> thanks mike should I be safe then if  I add this to my AcctSQLStatement to
> update my VALIDFROM table:
>
> AcctSQLStatement update RADUSERS set VALIDFROM=now where VALIDFROM='0',
> TIMELEFT=TIMELEFT-0%{Acct-Session-Time} etc.

It might be more common to let the starting value of VALIDFROM be NULL (which 
means Radiator would ignore it first time around), and then set it with:

AcctSQLStatement update RADUSERS set VALIDFROM=now where VALIDFROM IS NULL and 
...

>
> 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
>
> This Email is protected by RAV AntiVirus Security Software for SuSE Linux
> eMail Server

-- 
Mike McCauley   [EMAIL PROTECTED]
Open System Consultants Pty. LtdUnix, 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 [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.


Re: (RADIATOR) question

2003-07-18 Thread Chris

> 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).

thanks mike should I be safe then if  I add this to my AcctSQLStatement to
update my VALIDFROM table:

AcctSQLStatement update RADUSERS set VALIDFROM=now where VALIDFROM='0',
TIMELEFT=TIMELEFT-0%{Acct-Session-Time} etc.

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

This Email is protected by RAV AntiVirus Security Software for SuSE Linux eMail Server

===
Archive at http://www.open.com.au/archives/radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.


Re: (RADIATOR) question

2003-07-18 Thread queksteven

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 <[EMAIL PROTECTED]>   18/07/2003 03:57 PM
Sent by: [EMAIL PROTECTED]

   
   
  To:  "Chris" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
  
  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

 
 # no AccountingTable or AcctColumnDef entries here
 # means no accounting data inserted
 
 


# all the rest

 
 
 


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   [EMAIL PROTECTED]
Open System Consultants Pty. LtdUnix, 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 [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' 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 [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.


Re: (RADIATOR) question

2003-07-18 Thread Mike McCauley
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


# no AccountingTable or AcctColumnDef entries here
# means no accounting data inserted




# all the rest






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   [EMAIL PROTECTED]
Open System Consultants Pty. LtdUnix, 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 [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.