I need to thank you again and congratulate you guys for such a great support. Question: Even with freeradius-snapshot-20060920.tar.gz I will need to use ./configure --with-modules="rlm_sqlippool"? If all works well, I assume that in radcheck table, the users need to have "Pool-Name := test_pool" right? Thanks a lot. On 9/19/06, Peter Nixon <listuser@peternixon.net> wrote:
On Wed 20 Sep 2006 01:51, Tuyan Ozipek wrote:
Hi everybody, Sorry for not being able to cc to radius-users list. I will be on the list as soon as possible.
Gentlemen,
Thank you very much for lending me your time.
That's ok. Thank you for testing the software...
I'm downloading freeradius-snapshot-20060919.tar.gz right now.
Yes, my allocate-clear is configured exactly as Tuyan's and that's why I stated before that "regardless of my configuration in sqlippool.conf and radiusd.conf" the trace is always empty.
For example, if in sqlippool.conf I set sql-instance-name = "foobar", the output of radiusd -X is always:
Module: Loaded SQL IP Pool sqlippool: sql-instance-name = "sql"
There should be something wrong with your sqlippool.conf file, are you sure you are including the right one from the main radius configuration file? All the variables that we see in your trace, are the default ones.Basically we are putting them in case there is no value set for that variable.. For example : If there is no sql-instance-name set in your sqlippool.conf file, we set it as "sql" internally.
Please double check your include paths for the sqlippool.conf file. Is there any sqlippool { } directives hanging around in your radiusd.conf? Maybe a clean install with ./configure --prefix=/xxx/xxx can help you to find the config problem as well..
My guess is that his problem is caused by the way he built sqlippool:
Well, I've tried to install todays freeradius CVS, and it installed without the sqlippool module, don't know why. So, I've compiled it manually from freeradius-snapshot-20060918/src/modules/rlm_sqlippool/
If he does a clean install from tonight's cvs I think everything will work as expected.
--
Peter Nixon http://www.peternixon.net/ PGP Key: http://www.peternixon.net/public.asc