]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
fix lower->tolower typo in policy.conf
authorAlexander Clouter <alex@digriz.org.uk>
Mon, 9 May 2011 10:15:16 +0000 (11:15 +0100)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 9 May 2011 10:58:40 +0000 (12:58 +0200)
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@digriz.org.uk>
raddb/policy.conf

index 599a5804502e75bb103abbbd212ab40b5895a5e8..73b195188a28a5e61077d5369a84afb6d062319e 100644 (file)
@@ -81,7 +81,7 @@ policy {
                }
 
                # Mixed case: reject
-               if (User-Name != "%{lower:%{User-Name}}") {
+               if (User-Name != "%{tolower:%{User-Name}}") {
                        reject
                }
        }