Hello Alan<br>Thanks for your reply.<br>Would you please tell me whether the scenario is correct or not?<br>1) We obtain the clear text password in the authorization section of our module.<br>2) We populate the request->config_items with the clear text password.
<br>3) The CHAP module authenticates the user using the supplied clear text password.<br><br>Best Regards<br>Ali Majdzadeh<br><br><div><span class="gmail_quote">2007/10/25, Alan DeKok <<a href="mailto:aland@deployingradius.com">
aland@deployingradius.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Ali Majdzadeh wrote:<br>> Hello Alan<br>> Yes, I am sure that the code works correctly, because the CHAP module
<br>> accepts the clear text password which I have provided in the<br>> request->config_items. Below is my code for the authorize section of the<br>> module:<br><br>  That looks OK.<br><br>> Thu Oct 25 13:18:42 2007 : Debug:   rlm_chap: Using clear text password
<br>> "123456" for user ali authentication.<br>> Thu Oct 25 13:18:42 2007 : Debug:   rlm_chap: Password check failed<br><br>  The password doesn't match what the user entered.  There isn't much<br>
that can go wrong here.<br><br>  Alan DeKok.<br>-<br>List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html">http://www.freeradius.org/list/users.html</a><br></blockquote></div><br>