I am hoping someone can help me. We compiled 2.1.x from source and finally got it to accept our python Auth-Type as the default in the users file.
DEFAULT Auth-Type := python But, after sucessfully calling our python module the user is rejected ERROR: No authenticate method (Auth-Type) found for the request: Rejecting the user Below is the complete log. Any ideas of what we may be doing wrong? Thanks, Jim Tue May 17 14:15:37 2011 : Debug: Listening on proxy address * port 1814 Tue May 17 14:15:37 2011 : Info: Ready to process requests. rad_recv: Access-Request packet from host 135.207.164.41 port 49346, id=131, length=55 User-Name = "owk" User-Password = "test123" NAS-IP-Address = 135.207.164.41 NAS-Port = 1812 Tue May 17 14:15:50 2011 : Info: # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default Tue May 17 14:15:50 2011 : Info: +- entering group authorize {...} Tue May 17 14:15:50 2011 : Info: ++[preprocess] returns ok *** authorize *** Tue May 17 14:15:50 2011 : Info: *** radlog call in authorize *** (('User-Name', '"owk"'), ('User-Password', '"test123"'), ('NAS-IP-Address', '135.207.164.41'), ('NAS-Port', '1812')) User-Name: "owk" User-Password: "test123" NAS-IP-Address: 135.207.164.41 NAS-Port: 1812 Authenticate User: owk Tue May 17 14:16:16 2011 : Info: ++[python] returns ok Tue May 17 14:16:16 2011 : Info: ERROR: No authenticate method (Auth-Type) found for the request: Rejecting the user Tue May 17 14:16:16 2011 : Info: Failed to authenticate the user. Tue May 17 14:16:16 2011 : Info: Using Post-Auth-Type Reject Tue May 17 14:16:16 2011 : Info: # Executing group from file /usr/local/etc/raddb/sites-enabled/default Tue May 17 14:16:16 2011 : Info: +- entering group REJECT {...} Tue May 17 14:16:16 2011 : Info: [attr_filter.access_reject] expand: %{User-Name} -> owk Tue May 17 14:16:16 2011 : Debug: attr_filter: Matched entry DEFAULT at line 11 Tue May 17 14:16:16 2011 : Info: ++[attr_filter.access_reject] returns updated Sending Access-Reject of id 131 to 135.207.164.41 port 49346 Tue May 17 14:16:16 2011 : Info: Finished request 0. Tue May 17 14:16:16 2011 : Debug: Going to the next request Tue May 17 14:16:16 2011 : Debug: Waking up in 4.9 seconds. rad_recv: Access-Request packet from host 135.207.164.41 port 49346, id=131, length=55 Tue May 17 14:16:16 2011 : Info: Sending duplicate reply to client five-10 port 49346 - ID: 131 Sending Access-Reject of id 131 to 135.207.164.41 port 49346 Tue May 17 14:16:16 2011 : Debug: Waking up in 4.9 seconds. rad_recv: Access-Request packet from host 135.207.164.41 port 49346, id=131, length=55 Tue May 17 14:16:16 2011 : Info: Sending duplicate reply to client five-10 port 49346 - ID: 131 Sending Access-Reject of id 131 to 135.207.164.41 port 49346 Tue May 17 14:16:16 2011 : Debug: Waking up in 4.9 seconds. Tue May 17 14:16:21 2011 : Info: Cleaning up request 0 ID 131 with timestamp +13 Tue May 17 14:16:21 2011 : Info: Ready to process requests. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html