26 Jan
2009
26 Jan
'09
4:34 a.m.
tech.subscriptions@shepherdhill.biz wrote:
DEFAULT User-Name =~ "^([^@]+)@isp.com", NAS-IP-Address == "127.0.0.1" User-Name := "%{1}"
and this is my debug: rad_recv: Access-Request packet from host 127.0.0.1 port 36732, id=6, length=59 User-Name = "4371104" User-Password = "4371104" NAS-IP-Address = 127.0.0.1 NAS-Port = 0 +- entering group authorize {...} [preprocess] expand: %{User-Name} -> 4371104 [preprocess] hints: Matched DEFAULT at 52 [preprocess] expand: %{1} ->
Because the regex didn't match.
and failed authentication. Kindly assist.
Write a *correct* regular expression that matches the incoming User-Name. Alan DeKok.