Unable to perform CHAP Authentication: after modifying client with CHAP-Password.
aland at deployingradius.com
Tue Jul 27 09:21:14 CEST 2010
Santosh Kumar wrote:
> Need help for modifying the radius client or updating for CHAP
You need to do the CHAP calculations. See the RFC's for details.
> Modified the below attribute, instead of PW_USER_PASSWORD to
> PW_CHAP_PASSWORD, but its rejecting please do know if i'm wrong or/and
> have to take care of any other aspect.
> if (rc_avpair_add(rh, &send, PW_CHAP_PASSWORD, passwd, -1, 0) == NULL)
> return ERROR_RC;
That won't work. CHAP requires specific crypto calculations. You're
not doing them.
More information about the Freeradius-Users