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