(RADIATOR) dynaddress and poolhints

Hugh Irvine hugh at open.com.au
Tue Apr 8 21:06:19 CDT 2003


Hello Chris -

I suspect the problem is the quotes you have used which are being 
included in the string.

Try this:

		PoolHint Mypool

regards

Hugh


On Wednesday, Apr 9, 2003, at 09:49 Australia/Melbourne, Chris Fedde 
wrote:

> Maybe I'm missing something obvious. How can I get a realm statement 
> to all
> default to the same address pool without having to set an attribute for
> each user?
>
> Below is the handler that I am trying.  It does not give me an error. 
> But
> nether does it allocate an address from the pool so far as I can see.
>
> <AddressAllocator SQL>
>     Identifier vwSQLAllocator
>
>     DBSource        dbi:mysql:radius:mysql.domain.net
>     DBUsername      radius
>     DBAuth          XXXXXXX
>
>     FindQuery select TIME_STAMP, YIADDR, SUBNETMASK, DNSSERVER \
>               from RADPOOL \
>               where POOL='%0' and STATE=0 order by TIME_STAMP\
>               limit 1
>
>     <AddressPool Mypool>
>          Range 10.0.94.0/23
>     </AddressPool>
>
> </AddressAllocator>
>
>
> <Handler Realm = domain.net>
>
>
>     AuthByPolicy ContinueWhileAccept
>
>
>     AuthBy myLDAP2
>     <AuthBy DYNADDRESS>
>         PoolHint 'Mypool'
>         AddressAllocator  mySQLAllocator
>     </AuthBy>
>
>     AuthLog resultlog
>
> </Handler>
>
> --
>     Chris Fedde
> ===
> 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 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 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