Stuck on very basic freeradius setup

Tiago sytker at gmail.com
Tue Jul 3 18:13:01 CEST 2012


Hello,
Even removing users file and recreating it didn't work (same error)

I did a purge/reinstall and it solved the problem O.o.

Well, thanks very much for the help!

2012/7/3 Fajar A. Nugraha <list at fajar.net>

> On Tue, Jul 3, 2012 at 10:13 PM, Tiago <sytker at gmail.com> wrote:
> > Alan,
> > My first message had that data, I'm pasting here again - after ready to
> > process line, thanks.
>
> It works on my setup.
>
>
> > [files] users: Matched entry miles at line 3
> > [files]         expand: Hello, %{User-Name} -> Hello, miles
> > ++[files] returns ok
>
> Check your users file again. If you don't have empty lines on top, and
> your users file is what you pasted earlier, it should say "line 2"
> instead of "line 3". Recreate from scratch if necessary. My users file
> is like this
>
> #===========
> testuser1 Cleartext-Password := "testpass"
> testuser2 Cleartext-Password := "testpass"
>         Reply-Message := "Hello %{User-Name}"
> #===========
>
> and doing a "radtest testuser2 testpass 127.0.0.1 0 testing123" gets me
>
> #==============
> [files] users: Matched entry testuser2 at line 2
> [files]         expand: Hello %{User-Name} -> Hello testuser2
> ++[files] returns ok
> #==============
>
> Maybe it's extra line on your users file, or tab vs space issue, or
> something else that I don't know about. Try copy-paste from mine
> (minus the comment mark), and see if you get the correct line (which
> is line 2 in my example).
>
> ... and if you've modified anything else on the config files, better
> start from scratch (e.g. apt-get purge, apt-get install) just to be
> sure.
>
> --
> Fajar
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20120703/a12ff859/attachment.html>


More information about the Freeradius-Users mailing list