Hugh Messenger wrote:
"Flavio Silvestrone" <drascii@gmail.com> said:
Subject: Re: "Clear text password not available" The version of radius is "freeradius-1.0.1-3".
All together now:
"Upgrade to 1.1.6"
I've kind of lost track of exactly what you are trying to do, but what the users file is seems to be set up to do is to authenticate 'massi' locally in the users file, and flavio against the UNIX passwd file. And UNIX is telling you it doesn't know anything about 'flavio'.
I think. But definitely upgrade to 1.1.6, regardless!!
Soon it'll be upgrade to 2.0.0 :) Ah debugging peoples unlang configurations, what fun that'll be I have trouble enough debugging my own ... ++? if ("%{Called-Station-Id}" =~ /^([0-9a-f]{2})[-:]?([0-9a-f]{2})[-:]?([0-9a-f]{2})[-:]?([0-9a-f]{2,})[-:]?([0-9a-f]{2})[-:]?([0-9a-f]{2})[-:]?([[:alnum:]]*)?/i) expand: %{Called-Station-Id} -> 00-14-C2-B6-7D-32:eduroam ? Evaluating ("%{Called-Station-Id}" =~ /^([0-9a-f]{2})[-:]?([0-9a-f]{2})[-:]?([0-9a-f]{2})[-:]?([0-9a-f]{2,})[-:]?([0-9a-f]{2})[-:]?([0-9a-f]{2})[-:]?([[:alnum:]]*)?/i) -> TRUE ++? if ("%{Called-Station-Id}" =~ /^([0-9a-f]{2})[-:]?([0-9a-f]{2})[-:]?([0-9a-f]{2})[-:]?([0-9a-f]{2,})[-:]?([0-9a-f]{2})[-:]?([0-9a-f]{2})[-:]?([[:alnum:]]*)?/i) -> TRUE ++- entering if ("%{Called-Station-Id}" =~ /^([0-9a-f]{2})[-:]?([0-9a-f]{2})[-:]?([0-9a-f]{2})[-:]?([0-9a-f]{2,})[-:]?([0-9a-f]{2})[-:]?([0-9a-f]{2})[-:]?([[:alnum:]]*)?/i) expand: %{1}%{2}%{3}%{4}%{5}%{6} -> 0014C2B67D32 expand: %{7} -> eduroam +++[request] returns updated ++- if ("%{Called-Station-Id}" =~ /^([0-9a-f]{2})[-:]?([0-9a-f]{2})[-:]?([0-9a-f]{2})[-:]?([0-9a-f]{2,})[-:]?([0-9a-f]{2})[-:]?([0-9a-f]{2})[-:]?([[:alnum:]]*)?/i) returns updated ++? if ("%{Calling-Station-Id}" =~ /([0-9a-f]{2})[-:]?([0-9a-f]{2})[-:]?([0-9a-f]{2})[-:]?([0-9a-f]{2,})[-:]?([0-9a-f]{2})[-:]?([0-9a-f]{2})/i) expand: %{Calling-Station-Id} -> 00-19-E3-0C-CD-58 ? Evaluating ("%{Calling-Station-Id}" =~ /([0-9a-f]{2})[-:]?([0-9a-f]{2})[-:]?([0-9a-f]{2})[-:]?([0-9a-f]{2,})[-:]?([0-9a-f]{2})[-:]?([0-9a-f]{2})/i) -> TRUE ++? if ("%{Calling-Station-Id}" =~ /([0-9a-f]{2})[-:]?([0-9a-f]{2})[-:]?([0-9a-f]{2})[-:]?([0-9a-f]{2,})[-:]?([0-9a-f]{2})[-:]?([0-9a-f]{2})/i) -> TRUE ++- entering if ("%{Calling-Station-Id}" =~ /([0-9a-f]{2})[-:]?([0-9a-f]{2})[-:]?([0-9a-f]{2})[-:]?([0-9a-f]{2,})[-:]?([0-9a-f]{2})[-:]?([0-9a-f]{2})/i) expand: %{1}%{2}%{3}%{4}%{5}%{6} -> 0019E30CCD58 +++[request] returns updated ++- if ("%{Calling-Station-Id}" =~ /([0-9a-f]{2})[-:]?([0-9a-f]{2})[-:]?([0-9a-f]{2})[-:]?([0-9a-f]{2,})[-:]?([0-9a-f]{2})[-:]?([0-9a-f]{2})/i) returns updated ++? if (!"%{NAS-Port-Type}"||("%{NAS-Port-Id}" =~ /wl[0-9]*/)) expand: %{NAS-Port-Type} -> Wireless-802.11 ? Evaluating "Wireless-802.11" -> FALSE expand: %{NAS-Port-Id} -> ? Evaluating ("%{NAS-Port-Id}" =~ /wl[0-9]*/) -> FALSE ++? if (!"%{NAS-Port-Type}"||("%{NAS-Port-Id}" =~ /wl[0-9]*/)) -> FALSE ++? if ("%{NAS-IP-Address}" == "127.0.0.1") expand: %{NAS-IP-Address} -> 139.184.6.42 ? Evaluating ("%{NAS-IP-Address}" == "127.0.0.1") -> FALSE ++? if ("%{NAS-IP-Address}" == "127.0.0.1") -> FALSE Muahaha -- 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