Realms Extraction

tnt at tnt at
Mon Jan 26 20:45:10 CET 2009

>> That is the assistance I need - writing the correct regular expression.
>User-Name =~ "^([^@]+)($"

Double quotes don't work for me (2.1.3). Single work OK:

DEFAULT   User-Name =~ '^([^@]+)($'

also, in second statement, it doesn't expand with single quotes, only

                 User-Name := "%{1}"

With single quotes %{1} is treated as an ordinary string. Is that how
things should be?

Ivan Kalik
Kalik Informatika ISP

More information about the Freeradius-Users mailing list