Arran Cudbard-Bell wrote:
Alan Dekok wrote:
Arran Cudbard-Bell wrote:
Anyway the error I get with SQL OK. The issue is that strings like "${foo}" don't get expanded. I've just committed a fix.
Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html
Yep , can confirm fixed :)
thanks.
Though regular expressions no longer work :( # Stripped username if("%{User-Name}" =~ "([-[:alnum:]._^@]+)@([-[:alnum:]._]*)"){ update request { Stripped-User-Name = %{1} Pre-Proxy-Realm = %{2} } } elsif("%{User-Name}" =~ "*.-emergency.*"){ update request { Stripped-User-Name = "%{1}" } } Module: Checking authorize {...} for more modules to load Expected string or numbers at 2 0: "([-[:alnum:]._^@]+)@([-[:alnum:]._]*)") radiusd.conf[1986] Failed to parse authorize section. Errors setting up modules -- Arran Cudbard-Bell (A.Cudbard-Bell@sussex.ac.uk) Authentication, Authorisation and Accounting Officer Infrastructure Services | ENG1 E1-1-08 University Of Sussex, Brighton EXT:01273 873900 | INT: 3900