"Matt Nowina" <[EMAIL PROTECTED]> wrote: > I have recently upgraded to the latest CVS build of Free-Radius and > can't seem to authenticate MS-CHAP clients connecting to a Cisco Router. > As soon as a connection is made I receive the following message: ... > rlm_mschap: Attribute "MS-CHAP-Challenge" is required for > authentication.
Yeah, it's a bug. > I'm sure I'm just missing something small, but I can't for the life of > me figure out where the rlm_mschap module wants me to declare an > MS-CHAP-Challenge attribute. If any of you have successfully setup > freeradius to authenticate MS-CHAP, can you let me know what or where I > may be going wrong? Go to src/modules/rlm_mschap/rlm_mschap.c change the lines: #define PW_MSCHAP_RESPONSE ((311 << 16) | 1) #define PW_MSCHAP_CHALLENGE ((311 << 16) | 11) to: #define PW_MSCHAP_RESPONSE ((dict_vendorcode(311) << 16) | 1) #define PW_MSCHAP_CHALLENGE ((dict_vendorcode(311) << 16) | 11) Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
