27 Jul
2010
27 Jul
'10
3:21 a.m.
Santosh Kumar wrote:
Need help for modifying the radius client or updating for CHAP authentication,
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. Alan DeKok.