freeradius3, rlm_preprocess changed defaults without notice

Alan DeKok aland at deployingradius.com
Thu Feb 25 14:32:51 CET 2016


On Feb 25, 2016, at 6:49 AM, Boris Lytochkin <lytboris at yandex-team.ru> wrote:
> I am struggling moving our RADIUS server from freeradius 2.1 to freeradius 3 and found a (yet another) snag:
> rlm_preprocess in 2.1 does load huntgroups/users even they are not specified in configuration because it has defaults compiled in. Version 3, instead, needs them to be specified directly as have NULLs instead of default location:

  The point is that it's perfectly fine to use the "preprocess" module without the hunt group functionality.

  If your configuration does *not* have "huntgroups"  defined, your configuration was wrong.  The point of configuration files is to specify what the server does.  If the configuration files are randomly empty... they're wrong.

> This is not mentioned in "Changed modules" here:
> http://networkradius.com/doc/3.0.10/upgrading/changed-modules.html
> and adds a cherry on the top of migrating hell pie.

  Is that necessary?  There are really small changes between v2 and v3.  It should be relatively easy to migrate a system.  You need to be careful, and test it, and read the debug output.. but it's just work.

> Please find a way to fix it properly.

  Use a correct configuration.

  Alan DeKok.




More information about the Freeradius-Users mailing list