I have been running it in debug mode. I don't think it's the module itself. Here is what I see: Ready to process requests. rad_recv: Access-Request packet from host X.Y.73.124:32769, id=77, length=56 User-Name = "test" User-Password = "test" NAS-IP-Address = 255.255.255.255 NAS-Port = 1812 Processing the authorize section of radiusd.conf modcall: entering group authorize for request 0 modcall[authorize]: module "chap" returns noop for request 0 modcall: group authorize returns noop for request 0 auth: No authenticate method (Auth-Type) configuration found for the request: Rejecting the user auth: Failed to validate the user. Delaying request 0 for 1 seconds Finished request 0 -----Original Message----- From: freeradius-devel-bounces@lists.freeradius.org [mailto:freeradius-devel-bounces@lists.freeradius.org] On Behalf Of Alan DeKok Sent: Tuesday, June 07, 2005 12:55 PM To: FreeRadius developers mailing list Subject: Re: PAP failure "Batta, Anurag" <Anurag_Batta@usr.com> wrote:
Did anyone experience this while testing? I loaded PAP module and put a user and pwd in config file. I get access reject in reply to radtest.
Run the server in debugging mode to see why. If it's a problem in the PAP module, instrument the code to see what it's doing, and why. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html This e-mail may contain confidential or privileged information. If you think you have received this e-mail in error, please advise the sender by reply e-mail and then delete this e-mail immediately. Thank you. U. S. Robotics
"Batta, Anurag" <Anurag_Batta@usr.com> wrote:
modcall: entering group authorize for request 0 modcall[authorize]: module "chap" returns noop for request 0 modcall: group authorize returns noop for request 0
You've deleted all of the modules other than "chap" from the "authorize" section. Where is the server supposed to get a "known good" password, to authenticate the user? The "chap" module doesn't query a database. In addition, you're sending it a PAP request, not CHAP. So I'm not sure what you're trying to do. Please start off using the default configuration of "radiusd.conf". It works. Then, edit it slowly, testing after every edit, in order to get to the configuration you want. Alan DeKok.
participants (2)
-
Alan DeKok -
Batta, Anurag