(RADIATOR) Accessing pool from CheckPoolQuery
hugh at open.com.au
Thu Feb 26 00:05:10 CST 2004
Hello Andrew -
Perhaps I don't understand your question.....
An address is allocated from a pool (ie. you specify a PoolHint), but
only the address itself is deallocated.
What exactly are you trying to do?
On 26 Feb 2004, at 16:46, Andrew Stevenson wrote:
> On Wed, 25 Feb 2004, Hugh Irvine wrote:
>> 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".
> I've patched AddressAllocatorSQL.pm to pass the pool to AllocateQuery
> CheckPoolQuery but obtaining the pool in DeallocateQuery is prooving
> awkward. It seems I either need to find some way of storing the pool
> id in
> the session table so I can find which pool the IP address needs
> in or to have an AddressAllocator for every pool (identical expect the
> pool hardcoded in some SQL statements).
> Am I misunderstanding? I'm not quite sure I understand your
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