No authenticate method (Auth-Type) configuration found

browan.jason browan.jason at gmail.com
Thu Sep 18 08:15:56 CEST 2008


Hi all,
I have got some problems when use freeradius.
freeradius version:
FreeRADIUS Version 1.0.5, for host , built on Sep  9 2008 at 11:11:51 
My system: 
Fedora core 4
Kernel version:
2.6.11-1.1369_FC4

When i test the radius server, I have add something into /usr/local/etc/raddb/users like this:
test1 Auth-Type := Local, User-Password == "123456"
    User-Password =="123456",
    Service-Type=Framed-User,
    Framed-Protocol=PPP,
    Framed-IP-Address=192.168.121.99,
    Framed-IP-Netmask=255.255.252.0
Add this into clients.conf:
client 192.168.121.43{
    secret      =   mmmmmm
    shortname   =   remote
    nastype     =   other
}

Then start the freeradius server and use radtest to check this server:

radtest test1 123456 192.168.121.49 0 mmmmmm
192.168.121.49 is my server's IP, My local machine IP address is 192.168.121.43.

But, It always failed!
Following is the client's information:
Sending Access-Request of id 161 to 192.168.121.49:1812
        User-Name = "test1"
        User-Password = "123456"
        NAS-IP-Address = freepp
        NAS-Port = 0
rad_recv: Access-Reject packet from host 192.168.121.49:1812, id=161, length=20 

And radius server's debuf information:
rad_recv: Access-Request packet from host 192.168.121.43:32768, id=161, length=57
        User-Name = "test1"
        User-Password = "123456"
        NAS-IP-Address = 255.255.255.255
        NAS-Port = 0
  Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 2
  modcall[authorize]: module "preprocess" returns ok for request 2
  modcall[authorize]: module "chap" returns noop for request 2
  modcall[authorize]: module "mschap" returns noop for request 2
    rlm_realm: No '@' in User-Name = "test1", looking up realm NULL
    rlm_realm: No such realm "NULL"
  modcall[authorize]: module "suffix" returns noop for request 2
  rlm_eap: No EAP-Message, not doing EAP
  modcall[authorize]: module "eap" returns noop for request 2
modcall: group authorize returns ok for request 2
auth: No authenticate method (Auth-Type) configuration found for the request: Rejecting the user
auth: Failed to validate the user.
Delaying request 2 for 1 seconds
Finished request 2
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 161 to 192.168.121.43:32768
Waking up in 4 seconds...
--- Walking the entire request list ---
Cleaning up request 2 ID 161 with timestamp 48d1f126
Nothing to do.  Sleeping until we see a request.

As you see, every time he told me "No authenticate method(Auth-Type) configuration found for the request......", I don't konw why?
Could you please give me some help?
Many Thanks!
2008-09-18 



Jason Zhang 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20080918/5cef2f66/attachment.html>


More information about the Freeradius-Users mailing list