Hello everyone, Im trying to use plain mac auth ( http://wiki.freeradius.org/Mac%20Auth#Plain+Mac-Auth) and at the radius server says Login Ok , Acceptin user , but at the client says auth fails (w7) here is the output of it : Does any1 knows what might be the problem ? Thanks ,
*rad_recv: Access-Request packet from host 172.20.0.11 port 1645, id=28, length=139 User-Name = "host/Bala-PC" Service-Type = Framed-User Framed-MTU = 1500 Called-Station-Id = "00-22-56-05-0C-8F" Calling-Station-Id = "00-1F-16-AD-16-0A" EAP-Message = 0x0202001101686f73742f42616c612d5043 Message-Authenticator = 0x082125c878f325cb3b54c88dbc6e2e82 NAS-Port-Type = Ethernet NAS-Port = 50015 NAS-IP-Address = 172.20.0.11 +- entering group authorize {...} ++[preprocess] returns ok ++- entering policy rewrite_calling_station_id {...} +++? 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) ? 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} -> 00-1F-16-AD-16-0A ++++[request] returns ok +++- 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 ok +++ ... skipping else for request 2: Preceding "if" was taken ++- policy rewrite_calling_station_id returns ok [authorized_macs] expand: %{Calling-Station-ID} -> 00-1F-16-AD-16-0A [authorized_macs] users: Matched entry 00-1F-16-AD-16-0A at line 3 ++[authorized_macs] returns ok ++? if (!ok) ? Evaluating !(ok) -> FALSE ++? if (!ok) -> FALSE ++- entering else else {...} +++[control] returns ok ++- else else returns ok Found Auth-Type = Accept Auth-Type = Accept, accepting the user Login OK: [host/Bala-PC/<via Auth-Type = Accept>] (from client 4500 port 50015 cli 00-1F-16-AD-16-0A) +- entering group post-auth {...} ++[exec] returns noop Sending Access-Accept of id 28 to 172.20.0.11 port 1645 Reply-Message = "OK" Finished request 2.*
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html