Ben Hockenhull <[EMAIL PROTECTED]> wrote:
> I'm migrating from Merit RADIUS to FreeRADIUS 0.2 and I'm running into
> trouble. On Merit RADIUS, I can set up users who exist only in the
> /etc/raddb/users file, and not in /etc/passwd, and use local password
> authentication right in the users file.
That should work.
> Trying to do the same thing with FreeRADIUS, I run into authentication
> problems, and I think that it is due to the fact that the users in
> question do not exist in /etc/passwd, and thus have no shell to compare to
> /etc/shells.
That doesn't make any difference. If the password is local (not
system), then /etc/shells is NEVER checked.
> An example /etc/raddb/users entry follows:
>
> exampleuser Auth-Type := Local
> Password == "foo",
The Password attribute MUST be on the first line. See the sample
'users' file.
Note also that when you run the server in debugging mode, you get an
error message telling you what the problem is, and how to fix it.
And this is most likely the source of your problem. Put the
password attribute on the same line as the username, and it should
work.
Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html