(RADIATOR) Accessing pool from CheckPoolQuery

Hugh Irvine hugh at open.com.au
Wed Feb 25 02:23:22 CST 2004


Hello Andrew -

You can either specify multiple pools in the AddressAllocator SQL 
clause, or you can specify multiple AddressAllocator SQL clauses.

Have a look at the code in "Radius/AddressAllocatorSQL.pm".

regards

Hugh


On 25 Feb 2004, at 11:30, Andrew Stevenson wrote:

> Hi,
>
> I was wondering how you obtained the pool that CheckPoolQuery has been
> called for?
>
> If you have 2 pools in the one table that have overlaping IP addresses
> (such as when allocating IPs in private networks) you need to be able 
> to
> put a where clause in that says pool = 'XXXX'.
>
> The same thing goes for AllocateQuery and DeallocateQuery.
>
> I've looked at the source and there doesn't seem to be a way but I'd 
> just
> like it confirmed before doing a patch.
>
> Thanks,
>
> Andrew
> -- 
>
> Andrew Stevenson
> NTT Australia IP Pty Ltd
> Level 7, 209 Castlereagh Street
> Sydney NSW 2000 Australia
>
> Tel: +61 2 9272 9600
> Fax: +61 2 9394 9719
> E-mail: andrew.stevenson at nttaus.com.au
> www.nttaus.com.au
>
> Any pricing contained within this e-mail is indicative only and is not 
> intended to be legally binding. Please note that this correspondence 
> is for the named person's use only and may contain information that is 
> confidential and privileged. If you received this correspondence in 
> error, please immediately delete it from your system and notify the 
> sender.  Please ensure that you do not disclose, copy or rely on any 
> part of this correspondence if you are not the intended recipient.
> --
> 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.
>
>

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, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
-
CATool: Private Certificate Authority for Unix and Unix-like systems.

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