[PATCH] fix lower->tolower typo in policy.conf

Alexander Clouter alex at digriz.org.uk
Mon May 9 12:15:16 CEST 2011


git commit abc96955 contains a typo that this patch fixes.  As the 
module 'lower' does not exist calling this policy always results in a 
reject.

Signed-off-by: Alexander Clouter <alex at digriz.org.uk>

--- freeradius/policy.conf.orig	2011-05-09 10:44:57.000000000 +0100
+++ freeradius/policy.conf	2011-05-09 11:06:03.000000000 +0100
@@ -81,7 +81,7 @@
 		}
 
 		# Mixed case: reject
-		if (User-Name != "%{lower:%{User-Name}}") {
+		if (User-Name != "%{tolower:%{User-Name}}") {
 			reject
 		}
 	}



More information about the Freeradius-Devel mailing list