Hi,

You must specify Auth-Type := Local to this type of authorization (specifing
you the password)

I think, if you specify Auth-Type := System, user will be searched into
system users account of your machine.

Daniel Garcia



----- Original Message ----- 
From: "王振国" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 16, 2003 7:43 AM
Subject: Re: Re: (no subject)


Oliver Graf,您好!
 Thank's.

  I set a User-Password attribute in the users file like this:

"aaa"   Auth-Type := System, User-Password == "aaa"
        Reply-Message = "Hello, %u"

when I connect to it ,the server said:


Listening on IP address *, ports 1812/udp and 1813/udp, with proxy on
1814/udp.
Ready to process requests.
rad_recv: Access-Request packet from host 192.168.3.210:1812, id=161,
length=102
        NAS-IP-Address = 192.168.3.210
        NAS-Port = 50001
        NAS-Port-Type = Ethernet
        User-Name = "aaa"
        Calling-Station-Id = "52-54-AB-35-BE-DC"
        Service-Type = Framed-User
        Framed-MTU = 1500
        EAP-Message = "\002\002\000\010\001aaa"
        Message-Authenticator = 0x9e7143d4121c8326e4c90b2e75f6e9d0
rlm_chap: Could not find proper Chap-Password attribute in request
rlm_unix: Attribute "User-Password" is required for authentication.
Sending Access-Reject of id 161 to 192.168.3.210:1812
        Reply-Message = "Hello, %u"


help me ,tks.

======= 2003-06-16 07:26:00 您在来信中写道:=======

>On Mon, Jun 16, 2003 at 08:58:20AM +0800, ?????? wrote:
>> I install the freeradius0.8.1,and only configed the clients.conf,I can't
complete the authentication,the error message is :
>>
>> rlm_chap: Could not find proper Chap-Password attribute in request
>> rlm_unix: Attribute "User-Password" is required for authentication.
>>
>> What should I do?
>
>Follow the instructions the error messages gives you?
>
>Set a User-Password attribute for the user you log in with in the
>users file (ldap db, sql db, whatever backend you use to store the
>users).
>
>Oliver.
>
>
>-
>List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html

= = = = = = = = = = = = = = = = = = = =


                    致
礼!
宏桥信息科技(大连)有限公司
电话:0411-4668118-8705传真:0411-4685815
大连市沙河口区连山街123号高技术楼B座8楼(116023)
               王振国
               [EMAIL PROTECTED]
2003-06-16



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



-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
  • ... b7time b7time
  • ... Tiago Jose Goncalves Lages
  • ... Joeffrey Betita
  • ... Kevin Hoffer
  • ... pcsd
  • ... Tan Hiong Khim
  • ... David Irimies
  • ... 王振国
    • ... Oliver Graf
  • ... 王振国
    • ... Daniel García
  • ... 王振国
  • ... 王振国
  • ... 王志欣
  • ... Ιωάννης Α. Μπούχρας
  • ... jarod morse
  • ... labis siegfried
  • ... labis siegfried
    • ... Oliver Graf
  • ... labis siegfried

Reply via email to