Re: A question about rlm modules



Hello Alan
Thanks for your reply.
Would you please tell me whether the scenario is correct or not?
1) We obtain the clear text password in the authorization section of our module.
2) We populate the request->config_items with the clear text password.
3) The CHAP module authenticates the user using the supplied clear text password.

Best Regards
Ali Majdzadeh

2007/10/25, Alan DeKok < aland@deployingradius.com>:
Ali Majdzadeh wrote:
> Hello Alan
> Yes, I am sure that the code works correctly, because the CHAP module
> accepts the clear text password which I have provided in the
> request->config_items. Below is my code for the authorize section of the
> module:

  That looks OK.

> Thu Oct 25 13:18:42 2007 : Debug:   rlm_chap: Using clear text password
> "123456" for user ali authentication.
> Thu Oct 25 13:18:42 2007 : Debug:   rlm_chap: Password check failed

  The password doesn't match what the user entered.  There isn't much
that can go wrong here.

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



This archive was generated by a fusion of Pipermail (Mailman edition) and MHonArc.