Hello,<div>Even removing users file and recreating it didn't work (same error)</div><div><br></div><div>I did a purge/reinstall and it solved the problem O.o.</div><div><br></div><div>Well, thanks very much for the help!<br>
<br><div class="gmail_quote">2012/7/3 Fajar A. Nugraha <span dir="ltr"><<a href="mailto:list@fajar.net" target="_blank">list@fajar.net</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Tue, Jul 3, 2012 at 10:13 PM, Tiago <<a href="mailto:sytker@gmail.com">sytker@gmail.com</a>> wrote:<br>
> Alan,<br>
> My first message had that data, I'm pasting here again - after ready to<br>
> process line, thanks.<br>
<br>
</div>It works on my setup.<br>
<div class="im"><br>
<br>
> [files] users: Matched entry miles at line 3<br>
> [files] expand: Hello, %{User-Name} -> Hello, miles<br>
> ++[files] returns ok<br>
<br>
</div>Check your users file again. If you don't have empty lines on top, and<br>
your users file is what you pasted earlier, it should say "line 2"<br>
instead of "line 3". Recreate from scratch if necessary. My users file<br>
is like this<br>
<br>
#===========<br>
testuser1 Cleartext-Password := "testpass"<br>
testuser2 Cleartext-Password := "testpass"<br>
Reply-Message := "Hello %{User-Name}"<br>
#===========<br>
<br>
and doing a "radtest testuser2 testpass 127.0.0.1 0 testing123" gets me<br>
<br>
#==============<br>
[files] users: Matched entry testuser2 at line 2<br>
[files] expand: Hello %{User-Name} -> Hello testuser2<br>
++[files] returns ok<br>
#==============<br>
<br>
Maybe it's extra line on your users file, or tab vs space issue, or<br>
something else that I don't know about. Try copy-paste from mine<br>
(minus the comment mark), and see if you get the correct line (which<br>
is line 2 in my example).<br>
<br>
... and if you've modified anything else on the config files, better<br>
start from scratch (e.g. apt-get purge, apt-get install) just to be<br>
sure.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Fajar<br>
</font></span><div class="HOEnZb"><div class="h5">-<br>
List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/list/users.html</a><br>
</div></div></blockquote></div><br></div>