pool-key issue in rlm_sqlippool

Peter Nixon listuser at peternixon.net
Fri Jul 6 00:00:16 CEST 2007


On Thu 05 Jul 2007, Hugh Messenger wrote:
> 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.

And different pool names in each instance....

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

You are welcome. Everyone is/was helped by someone when they start out :-)

-- 

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



More information about the Freeradius-Users mailing list