(RADIATOR) RE: Conditional IP Pool Allocation

Mike McCauley mikem at open.com.au
Mon May 5 05:55:16 CDT 2003


On Mon, 5 May 2003 08:26 pm, you wrote:
> From mikem at server1.open.com.au Mon May  5 05:26:45 2003
> Received: from bareed104.riyadh.zajil.com ([212.24.224.37])
> 	by server1.open.com.au (8.11.6/8.11.0) with ESMTP id h45AQi832733;
> 	Mon, 5 May 2003 05:26:44 -0500
> Received: from msx101.riyadh.zajil.com (msx101.riyadh.zajil.com
> [212.24.224.42]) by bareed104.riyadh.zajil.com (8.9.3/8.9.3) with ESMTP id
> NAA21093; Mon, 5 May 2003 13:21:19 +0300 (AST)
> Received: from thisdomain (mailscan.zajil.com.73.26.212.in-addr.arpa
> [212.26.73.71] (may be forged)) by msx101.riyadh.zajil.com (8.9.3/8.9.3)
> with SMTP id MAA22019;
> 	Mon, 5 May 2003 12:50:04 +0300 (AST)
> Received: from GNriyadhMGW.gulfnetksa.com by gulfnetksa.com ; Mon, 05 May
> 2003 13:30:39 +0300 Date: Mon, 05 May 2003 13:30:39 +0300
> X-Originating-IP: 212.26.73.72
> X-Auth-User: abdussami at gulfnetksa.com
> Received: from abdussami ([212.24.225.154])
> 	by GNriyadhMGW.gulfnetksa.com (8.9.0/8.9.0) with ESMTP id OAA07760;
> 	Mon, 5 May 2003 14:16:14 +0300 (AST)
> From: "Mohammed AbdusSami" <abdussami at gulfnetksa.com>
> To: "'Hugh Irvine'" <hugh at open.com.au>
> Cc: "'Radiator \(Radiator\)'" <radiator at open.com.au>
> Subject: RE: Conditional IP Pool Allocation
> Date: Tue, 6 May 2003 01:20:09 -0700
> Message-ID: <000001c313a8$4f68d650$9ae118d4 at abdussami>
> MIME-Version: 1.0
> Content-Type: text/plain;
> 	charset="us-ascii"
> Content-Transfer-Encoding: 7bit
> X-Priority: 3 (Normal)
> X-MSMail-Priority: Normal
> X-Mailer: Microsoft Outlook, Build 10.0.4510
> Importance: Normal
> In-Reply-To: <C6A3476A-7E82-11D7-9D7A-000393CFE1CA at open.com.au>
> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>
> When I implemented this we are getting following error message :
>
> No such attribute PoolHint
>
> Regards,
>
> AbdusSami
>
>
> -----Original Message-----
> From: Hugh Irvine [mailto:hugh at open.com.au]
> Sent: Sunday, May 04, 2003 4:01 PM
> To: Mohammed AbdusSami
> Cc: 'Radiator (Radiator)'
> Subject: Re: Conditional IP Pool Allocation
>
>
> Hello AdbusSami -
>
> You should set up your address pools with the plantype values and use
> them directly in the PoolHint:
>
> 	<AddressPool p1>
> 		....
> 	</AddressPool>
> 	<AddressPool p2>
> 		....
> 	</AddressPool>
> 	<AddressPool p3>
> 		.....
> 	</AddressPool>
>
> Then your AuthSelect would look like this:
>
> 	AuthSelect select PASSWORD, PLANTYPE, ....
> 	AuthColumnDef 0, Password, check
> 	AuthColumnDef 1, PoolHint, reply
> 	.....
> 	AddToReplyIfNotExist PoolHint = p3
>
> And your AuthBy DYNADDRESS would look like this:
>
> 	.....
> 	PoolHint %{Reply:PoolHint}
> 	.....
>
> See the corresponding sections in the Radiator 3.6 reference manual
> ("doc/ref.html").
>
> regards
>
> Hugh
>
>
> On Sunday, May 4, 2003, at 17:15 Australia/Melbourne, Mohammed
>
> AbdusSami wrote:
> > Dear All,
> >
> > How can I do following :
> >
> > Allocation of IP pool depend on plan type. For example I have 2 DSL
> > customers of plan type p1 & p2 respectively. when they request to
> > connect
> > they should get ip pool pool1  & pool2 respectively.  And the plan type
> > value I want to retrieve from "AuthSelect"
> >
> >
> > If plantype = p1
> > 	Pool1
> > If plantype = p2
> > 	Pool2
> > Else
> > 	Pool3
> >
> >
> >
> >
> > Thanks in Advance.
> >
> > Regards,
> >
> > AbdusSami
>
> NB: have you included a copy of your configuration file (no secrets),
> together with a trace 4 debug showing what is happening?

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


More information about the radiator mailing list