On Aug 21, 2015, at 10:44 AM, Michal Tomaszewski <Michal.Tomaszewski@cca.pl> wrote:
After enabling rediswho module and adding rediswho to accounting section (and only this section) there is an error:
Fri Aug 21 16:06:29 2015 : Debug: Loading library using absolute path "//lib/rlm_rediswho.so" Fri Aug 21 16:06:29 2015 : Debug: Loaded rlm_rediswho, checking if it's valid Fri Aug 21 16:06:29 2015 : Debug: # Loaded module rlm_rediswho Fri Aug 21 16:06:29 2015 : Debug: # Loading module "rediswho" from file //etc/raddb/mods-enabled/rediswho Fri Aug 21 16:06:29 2015 : Debug: rediswho { Fri Aug 21 16:06:29 2015 : Debug: redis_module_instance = "redis" Fri Aug 21 16:06:29 2015 : Debug: trim_count = 15 Fri Aug 21 16:06:29 2015 : Error: //etc/raddb/mods-enabled/rediswho[10]: Configuration item "insert" must have a value Fri Aug 21 16:06:29 2015 : Error: //etc/raddb/mods-enabled/rediswho[10]: Invalid configuration for module "rediswho"
Hmm... that's a bug.
Default configuration of rediswho from mods-enabled is used.
As I understand the file /mods-available/rediswho should have e.g. changed sections. It probably has changed since freeradius 2.x. Can you advice the correct one?
Try the v3.0.x branch from git. I've pushed a fix. Alan DeKok.