Realms Extraction

tech.subscriptions at shepherdhill.biz tech.subscriptions at shepherdhill.biz
Mon Jan 26 10:07:10 CET 2009


Hi,

I added:
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} ->
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
[suffix] No '@' in User-Name = "", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] No EAP-Message, not doing EAP
++[eap] returns noop
[sql] 	expand: %{User-Name} ->
[sql] sql_set_user escaped user --> ''

and failed authentication. Kindly assist.

Thanks.

Chris.



More information about the Freeradius-Users mailing list