radutmp

Franks Andy (RLZ) IT Systems Engineer Andy.Franks at sath.nhs.uk
Tue Aug 5 18:35:55 CEST 2014


Hi all,
  Doing some accounting with 3.1.0 (git #8be6046), and I've changed the
radutmp module in a very small way to use stripped user name, and then
user name if that isn't populated.
i.e. in mods-available/radutmp:

  username = %{Stripped-User-Name:-%{User-Name}}

during accounting it says :
(225)  radutmp : EXPAND /usr/local/var/log/radius/radutmp
(225)  radutmp :    --> /usr/local/var/log/radius/radutmp
(225) ERROR: radutmp : %{Stripped-User-Name:-%{User-Name}}
(225) ERROR: radutmp :   ^ Unknown module
(225)   [radutmp] = fail
(225)  } #  accounting = fail

Radwho also doesn't like me, all the policies I've written where I'm
testing a control variable work fine in the FR main config but using
radwho it complains that it's expecting a module return code :

Tue Aug  5 17:34:54 2014 : Error:
/usr/local/etc/raddb/policy.d/vlan_override[4]: Parse error in condition
Tue Aug  5 17:34:54 2014 : Error:   if (control:Ldap-SpecificUTVid) {
Tue Aug  5 17:34:54 2014 : Error:       ^ Expected a module return code

Have I missed something obvious? This always used to work ok.

Thanks
Andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20140805/64c04060/attachment-0001.html>


More information about the Freeradius-Users mailing list