hi, noted on our FR 3.x system the following in the logs: sql : WARNING: Unknown module "tolower" in string expansion "%" WARNING: No such configuration item . - looking into this, its postgreqs/dialup.conf reference - reference = "%{tolower:type.%{Acct-Status-Type}.query}" this doesnt appear to have changed since 2.x...... also, this one: WARNING: Unknown module "md5" in string expansion "%" this is in the acct_unique section of accounting policy: if("%{string:Class}" =~ /${policy.class_value_prefix}([0-9a-f]{32})/i) { update request { Acct-Unique-Session-Id := "%{md5:%{1}%{Acct-Session-ID}}" } } else { update request { Acct-Unique-Session-Id := "%{md5:%{User-Name}%{Acct-Session-ID}%{NAS-IP-Address}%{NAS-Port-ID}%{NAS-Port}}" } } ...and another: WARNING: Unknown module "expr" in string expansion "%" (from FreeRADIUS-Acct-Session-Start-Time = "%{expr: %l - %{%{Acct-Session-Time}:-0} - %{%{Acct-Delay-Time}:-0}}") wondering why these operatives are failing? alan
On 12/05/2012 02:45 PM, Alan Buxey wrote:
hi,
noted on our FR 3.x system the following in the logs:
sql : WARNING: Unknown module "tolower" in string expansion "%" WARNING: No such configuration item .
These were all moved into "expr". Are you sure you've got "expr" under instantiate?
Hi,
sql : WARNING: Unknown module "tolower" in string expansion "%" WARNING: No such configuration item .
These were all moved into "expr". Are you sure you've got "expr" under instantiate?
hmmm. okay...checking now..... uh, yep. looks like a little local change got made without it being checked/verified. will look through the local revision control to see who i need to name on the P45 ;-) alan
Hi,
On 12/05/2012 02:45 PM, Alan Buxey wrote:
hi,
noted on our FR 3.x system the following in the logs:
sql : WARNING: Unknown module "tolower" in string expansion "%" WARNING: No such configuration item .
These were all moved into "expr". Are you sure you've got "expr" under instantiate?
suggestion. print out WARNING and fail to start :-) (instead the server can carry on running with lots of impaired functionality) alan
On 5 Dec 2012, at 15:05, Alan Buxey <A.L.M.Buxey@lboro.ac.uk> wrote:
Hi,
On 12/05/2012 02:45 PM, Alan Buxey wrote:
hi,
noted on our FR 3.x system the following in the logs:
sql : WARNING: Unknown module "tolower" in string expansion "%" WARNING: No such configuration item .
These were all moved into "expr". Are you sure you've got "expr" under instantiate?
suggestion. print out WARNING and fail to start :-) (instead the server can carry on running with lots of impaired functionality)
xlat expansions aren't pre-parsed like other bits of the configuration, so we can't check whether xlat functions have been registered or not until we actually try and do the expansion at runtime. -Arran
On 12/05/2012 03:05 PM, Alan Buxey wrote:
Hi,
On 12/05/2012 02:45 PM, Alan Buxey wrote:
hi,
noted on our FR 3.x system the following in the logs:
sql : WARNING: Unknown module "tolower" in string expansion "%" WARNING: No such configuration item .
These were all moved into "expr". Are you sure you've got "expr" under instantiate?
suggestion. print out WARNING and fail to start :-)
Personally I don't see the value in having rlm_expr as "optional". It contains loads of stuff e.g. paircompare() handlers that you need. Might as well compile it into the server core!
participants (3)
-
Alan Buxey -
Arran Cudbard-Bell -
Phil Mayers