pool-key issue in rlm_sqlippool

Hugh Messenger hugh at alaweb.com
Thu Jul 5 20:33:38 CEST 2007


Peter Nixon <listuser at peternixon.net> said:
> On Wed 04 Jul 2007, Hugh Messenger wrote:
> > I have a problem with the pool-key in rlm_sqlippool.
>
> You can run two copies of the module. As long as you don't have the same
> pool
> name in both, just assign your pool name based on hunt group and
> everything
> will work as you expect :-)

Ah hah.  I think I get it now!

So basically I can replicate the "Multiple sqlippool instance example" setup
from the wiki, where the only difference between the two instance configs is
the pool-key.

I was going at it the wrong way.  Thinking in terms of "if it's a dialup do
sqlippool_dialup, elsif it's a wireless do sqlippool_wireless".  Instead of
"try sqlippool_dialup, if it fails try sqlippool_wireless", just relying on
the Pool-Name to take care of things.

Thankyou for being so patient!

> Peter Nixon
> http://www.peternixon.net/
> PGP Key: http://www.peternixon.net/public.asc

   -- hugh





More information about the Freeradius-Users mailing list