Hello!<br><div>I'm totally new in Linux, as well as in freeradius... </div><div>I've installed version 2.1.8 in Linuxmint 7.</div><div>I think everything in installation went ok... I succeed doing:</div>
<div>$ radtest user password 127.0.0.1 10 testing123 </div><div>with user/password the ones that I use to login in my computer. I get a response Access-Accept</div><div>(I had some problems here because I wasn't able to get an accept using localhost instead of 127.0.0.1 ...)</div>
<div><br></div><div>I'm now in the next step. </div><div>I want to change the secret in clients.conf, so I made the change:</div><div>#secret = testing123<br> secret = abracadabra<br></div><div><br></div><div>I stopped radiusd and started again.</div>
<div><br></div><div>$ radtest user password 127.0.0.1 10 abracadabra</div><div>doesn't work any more... and I don't understand why... because I'm using the same word. </div><div><br></div><div><i>rad_recv: Access-Reject packet from host 127.0.0.1 port 1812, id=146, length=20<br>
rad_verify: Received Access-Reject packet from client 127.0.0.1 port 1812 with invalid signature (err=2)! (Shared secret is incorrect.)</i><br><br></div><div>I get this log:</div><div><br>rad_recv: Access-Request packet from host 127.0.0.1 port 34217, id=146, length=60<br>
User-Name = "mjimenez"<br> User-Password = "\353\036\355h\203l\217\362\252\003\203P\270\223\342\231"<br> NAS-IP-Address = 127.0.1.1<br> NAS-Port = 10<br>Sat Mar 27 18:59:31 2010 : Info: +- entering group authorize {...}<br>
Sat Mar 27 18:59:31 2010 : Info: ++[preprocess] returns ok<br>Sat Mar 27 18:59:31 2010 : Info: ++[chap] returns noop<br>Sat Mar 27 18:59:31 2010 : Info: ++[mschap] returns noop<br>Sat Mar 27 18:59:31 2010 : Info: [suffix] No '@' in User-Name = "mjimenez", looking up realm NULL<br>
Sat Mar 27 18:59:31 2010 : Info: [suffix] No such realm "NULL"<br>Sat Mar 27 18:59:31 2010 : Info: ++[suffix] returns noop<br>Sat Mar 27 18:59:31 2010 : Info: [eap] No EAP-Message, not doing EAP<br>Sat Mar 27 18:59:31 2010 : Info: ++[eap] returns noop<br>
Sat Mar 27 18:59:31 2010 : Info: ++[unix] returns updated<br>Sat Mar 27 18:59:31 2010 : Info: ++[files] returns noop<br>Sat Mar 27 18:59:31 2010 : Info: ++[expiration] returns noop<br>Sat Mar 27 18:59:31 2010 : Info: ++[logintime] returns noop<br>
Sat Mar 27 18:59:31 2010 : Info: ++[pap] returns updated<br>Sat Mar 27 18:59:31 2010 : Info: Found Auth-Type = PAP<br>Sat Mar 27 18:59:31 2010 : Info: +- entering group PAP {...}<br>Sat Mar 27 18:59:31 2010 : Info: [pap] login attempt with password "�?�h?l?��??P�?�?"<br>
Sat Mar 27 18:59:31 2010 : Info: [pap] Using CRYPT encryption.<br>Sat Mar 27 18:59:31 2010 : Info: [pap] Passwords don't match<br>Sat Mar 27 18:59:31 2010 : Info: ++[pap] returns reject<br>Sat Mar 27 18:59:31 2010 : Info: Failed to authenticate the user.<br>
Sat Mar 27 18:59:31 2010 : Debug: WARNING: Unprintable characters in the password. Double-check the shared secret on the server and the NAS!<br>Sat Mar 27 18:59:31 2010 : Info: Using Post-Auth-Type Reject<br>Sat Mar 27 18:59:31 2010 : Info: +- entering group REJECT {...}<br>
Sat Mar 27 18:59:31 2010 : Info: [attr_filter.access_reject] expand: %{User-Name} -> mjimenez<br>Sat Mar 27 18:59:31 2010 : Debug: attr_filter: Matched entry DEFAULT at line 11<br>Sat Mar 27 18:59:31 2010 : Info: ++[attr_filter.access_reject] returns updated<br>
Sat Mar 27 18:59:31 2010 : Info: Delaying reject of request 0 for 1 seconds<br>Sat Mar 27 18:59:31 2010 : Debug: Going to the next request<br>Sat Mar 27 18:59:31 2010 : Debug: Waking up in 0.9 seconds.<br>Sat Mar 27 18:59:32 2010 : Info: Sending delayed reject for request 0<br>
Sending Access-Reject of id 146 to 127.0.0.1 port 34217<br>Sat Mar 27 18:59:32 2010 : Debug: Waking up in 4.9 seconds.<br>Sat Mar 27 18:59:37 2010 : Info: Cleaning up request 0 ID 146 with timestamp +9<br><br></div><div>
<br>
</div><div>When I had testing123 as secret, in User-Password I could see "my real password" and not "\353\036\355h\203l\217\362\252\00..."<b><br></b></div><div>I have checked I have this line in radiusd.conf :</div>
<div>$INCLUDE clients.conf</div><div><b><br></b></div><div>Maybe is a stupid question and I've to change something more in another conf file. I've not started configuring my NAS yet... I was trying to configure radius first and checking with radtest step by step.<b><br>
</b></div><div><br></div><div>Thank you in advance for any help you can give me,</div><div>Marta</div>
<br>