No authenticate method (Auth-Type)??

Oguzhan Kayhan oguzhank at bilkent.edu.tr
Mon Aug 4 07:45:33 CEST 2008


Hello,
Im trying to use virtual server config for the freeradius.

But i got the following error when i test the config.
auth: No authenticate method (Auth-Type) configuration found for the
request: Rejecting the user


My config for the sites-enables is:

-----------------------
listen {
                        ipaddr = *
                        port = 1821
                        type = auth
       }


 server one {
                 authorize {
                                preprocess
                                files
                                perl
                           }

                authenticate {
                        Auth-Type Perl       {
                                        perl
                                        }
                             }
                accounting {
                        unix
                        radutmp
                           }
                session {
                        radutmp
                        }
            }

 server two {

            }

client 139.179.14.250 {
        shortname       = example-client
        secret          = testing123
        virtual_server  = one

}
--------------------------------------
Also added the following under the modules section of radiusd.conf

--------------
perl {

               module = /usr/local/bin/login.pl
               func_authenticate = authenticate
               func_authorize = authorize
     }
---------------

this is the ouput of the radiusd -X.

rad_recv: Access-Request packet from host 139.179.14.250 port 36926,
id=31, length=56
        User-Name = "test"
        User-Password = "test"
        NAS-IP-Address = 139.179.14.250
        NAS-Port = 10
server one {
+- entering group authorize
++[preprocess] returns ok
++[files] returns noop
perl_pool: item 0x88af708 asigned new request. Handled so far: 1
found interpetator at address 0x88af708
rlm_perl: Added pair User-Name = test
rlm_perl: Added pair User-Password = test
rlm_perl: Added pair NAS-Port = 10
rlm_perl: Added pair NAS-IP-Address = 139.179.14.250
perl_pool total/active/spare [32/0/32]
Unreserve perl at address 0x88af708
++[perl] returns ok
auth: No authenticate method (Auth-Type) configuration found for the
request: Rejecting the user
auth: Failed to validate the user.
} # server one
  Found Post-Auth-Type Reject
  WARNING: Unknown value specified for Post-Auth-Type.  Cannot perform
requested action.
Sending Access-Reject of id 31 to 139.179.14.250 port 36926






PS: the same perl script works fine with single freerad config.





More information about the Freeradius-Users mailing list