'tolower' not operative......

Alan Buxey A.L.M.Buxey at lboro.ac.uk
Wed Dec 5 15:45:26 CET 2012


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


More information about the Freeradius-Devel mailing list