I have instaled freeradius with ./configure, make and make install. I have 
added  

       lolo Password = "lolo"
       Reply-Message = "Hola, lolo"

to the file users, and starts the server with radiusd -X. But when I use 
radtest the server doesn't accept the user:

>>> radtest lolo lolo localhost 0 testing123

and the server show:

------------------------------------------------------------
rad_recv: Access-Request packet from host 127.0.0.1:1047, id=233, length=56
        User-Name = "lolo"
        User-Password = "lolo"
        NAS-IP-Address = 255.255.255.255
        NAS-Port = 0
modcall: entering group authorize
  modcall[authorize]: module "preprocess" returns ok
rlm_chap: Could not find proper Chap-Password attribute in request
  modcall[authorize]: module "chap" returns noop
  modcall[authorize]: module "mschap" returns notfound
    rlm_realm: No '@' in User-Name = "lolo", looking up realm NULL
    rlm_realm: No such realm NULL
  modcall[authorize]: module "suffix" returns noop
    users: Matched DEFAULT at 152
  modcall[authorize]: module "files" returns ok
modcall: group authorize returns ok
  rad_check_password:  Found Auth-Type System
auth: type "System"
modcall: entering group authenticate
rlm_unix: [lolo]: invalid password
  modcall[authenticate]: module "unix" returns reject
modcall: group authenticate returns reject
auth: Failed to validate the user.
Delaying request 0 for 1 seconds
Finished request 0
Going to the next request
--- Walking the entire request list ---
Waking up in 1 seconds...
--- Walking the entire request list ---
Waking up in 1 seconds...
--- Walking the entire request list ---
Sending Access-Reject of id 233 to 127.0.0.1:1047
Waking up in 4 seconds...
--- Walking the entire request list ---
Cleaning up request 0 ID 233 with timestamp 3df74acc
Nothing to do.  Sleeping until we see a request.
------------------------------------------------------------

somebody can help me to configure freeradius????



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

Reply via email to