Looks like a syntax error in the users file. Your missing a comma after the auth-type in your specific user entry.
Correct entry should look like:
000102-030405 Auth-Type := Local, User-Password == "xxxx"


Also use ":=" to declar your Auth-Type in the DEFAULT entry. (Theres an example in the stock users file that uses just "=", but I think ":=" is more correct)

Refer to http://www.freeradius.org/doc/users.5.html



-Rob


At 08:33 AM 11/24/2003 -0800, you wrote:
Hi,

I'm using freeradius 0.9.3 on redhat 9.0. I'm trying
to get simple authentication working using the users
file. I have edited the client.conf and users file but
nothing else.

When running under debug, I can see the authentication
request come in and I have verified that the shared
secret is ok.

However, depending on how I edit the users file, I
either get:

auth: No password configured for user

or

auth: No authentication method (Auth-Type)
configuration found for the request: rejecting user


In the first case I have in the users file:


DEFAULT  Auth-Type = Local
         Fall-Through = Yes

000102-030405 Auth-Type := Local User-Password ==
"xxxx"

In the second case, I have the same without the
DEFAULT entry.

The user name is a mac address from a wireless device.
Should it be in double quotes? What do I need to do to
get this simple case working?

Bill

__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to