freeradius 2.0-pre1 - a few issues
hi, checked out the pre1 CVS a couple of times today. a few issues that I have found.... 1) with --experimental-modules, rlm_policy does not build Making all in rlm_policy... gmake[6]: Entering directory `/usr/src/radiusd/src/modules/rlm_policy' /usr/src/radiusd/libtool --mode=compile gcc -g -O2 -I/usr/src/radiusd/src -I/usr/src/radiusd/libltdl -c parse.c gcc -g -O2 -I/usr/src/radiusd/src -I/usr/src/radiusd/libltdl -c parse.c -fPIC -DPIC -o .libs/parse.o parse.c: In function 'parse_module': parse.c:1088: warning: passing argument 1 of 'compile_modgroup' makes pointer from integer without a cast parse.c:1088: warning: passing argument 2 of 'compile_modgroup' makes integer from pointer without a cast parse.c:1088: warning: passing argument 3 of 'compile_modgroup' from incompatible pointer type parse.c:1088: error: too few arguments to function 'compile_modgroup' gmake[6]: *** [parse.lo] Error 1 gmake[6]: Leaving directory `/usr/src/radiusd/src/modules/rlm_policy' gmake[5]: *** [common] Error 2 gmake[5]: Leaving directory `/usr/src/radiusd/src/modules' gmake[4]: *** [all] Error 2 gmake[4]: Leaving directory `/usr/src/radiusd/src/modules' gmake[3]: *** [common] Error 2 gmake[3]: Leaving directory `/usr/src/radiusd/src' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/usr/src/radiusd/src' gmake[1]: *** [common] Error 2 gmake[1]: Leaving directory `/usr/src/radiusd' make: *** [all] Error 2 2) (and this is same with 1.1.6 etc) if you dont instantiate the SQL module with accounting or authorize (ie only use it for naslist) then SQL isnt started up at all and you CANT use it solely for naslist function - all you get is FR including the config files...but it then never connects to the SQL... tested with MySQL - I fear same is true for all engines. 3) debian files mention 2.0-pre0 and the copyrights etc are horribly outdated alan
A.L.M.Buxey@lboro.ac.uk wrote:
1) with --experimental-modules, rlm_policy does not build
With luck, much of rlm_policy will disappear in 2.0.0. But yes, it should be fixed.
2) (and this is same with 1.1.6 etc) if you dont instantiate the SQL module with accounting or authorize (ie only use it for naslist) then SQL isnt started up at all and you CANT use it solely for naslist function
That's what the "instantiate" section is for. List "sql" there, and the naslist will be read.
3) debian files mention 2.0-pre0 and the copyrights etc are horribly outdated
Yes. All that needs a validation pass before 2.0.0 - final. Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog
Joe Maimon wrote:
With luck, much of rlm_policy will disappear in 2.0.0.
I hope not, I use it and like it very much.
I didn't say that the *functionality* would go away. :) Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog
participants (3)
-
A.L.M.Buxey@lboro.ac.uk -
Alan DeKok -
Joe Maimon