Hello,<br>I've just installed freeradius 2.x on an ubuntu server 12.04 with apt-get.<br><br>I've follow documentation and I'm stuck on a very basic setup (pap auth). Basically I'm testing the default config using the users file to test auth with radtest.<br>
<br>So, here is the thing:<br><br><b>users file - first line:<br>teste Cleartext-Password:="teste"</b><br><br>I'm running freeradius on debug mode, here is the error log:<br>rad_recv: Access-Request packet from host 127.0.0.1 port 38134, id=101, length=57<br>
User-Name = "teste"<br> User-Password = "teste"<br> NAS-IP-Address = 201.x.x.x<br> NAS-Port = 0<br># Executing section authorize from file /etc/freeradius/sites-enabled/default<br>
+- entering group authorize {...}<br>++[preprocess] returns ok<br>++[chap] returns noop<br>++[mschap] returns noop<br>++[digest] returns noop<br>[suffix] No '@' in User-Name = "teste", looking up realm NULL<br>
[suffix] No such realm "NULL"<br>++[suffix] returns noop<br>[eap] No EAP-Message, not doing EAP<br>++[eap] returns noop<br>[files] users: Matched entry teste at line 1<br>++[files] returns ok<br>++[expiration] returns noop<br>
++[logintime] returns noop<br>++[pap] returns updated<br>Found Auth-Type = PAP<br># Executing group from file /etc/freeradius/sites-enabled/default<br>+- entering group PAP {...}<br><b>[pap] login attempt with password "teste"<br>
[pap] No password configured for the user. Cannot do authentication</b><br><b>++[pap] returns fail<br>Failed to authenticate the user.</b><br>Login incorrect: [teste/teste] (from client localhost port 0)<br>Using Post-Auth-Type Reject<br>
# Executing group from file /etc/freeradius/sites-enabled/default<br>+- entering group REJECT {...}<br>[attr_filter.access_reject] expand: %{User-Name} -> teste<br> attr_filter: Matched entry DEFAULT at line 11<br>
++[attr_filter.access_reject] returns updated....<div><br></div><div>My radtest command:</div><div>radtest teste teste 127.0.0.1 0 testing123</div><div><br></div><div>Ok, is that so obvious that I'm blind? Is there pap auth looking for another file instead users file?</div>
<div><br></div><div>What am I missing?</div><div><br></div><div>Thanks people.<br><br></div>