Subject: Re: PAP connection to NT RAS
To: Joel Klecker" , "Current-users <current-users@NetBSD.ORG>
From: Bob Nestor <rnestor@metronet.com>
List: current-users
Date: 11/18/1997 20:28:49
Joel Klecker <jk@espy.org> wrote:

>NT-RAS also has MS's own slightly different version of CHAP, fortunately,
>PPP 2.3.1 supports "MS-CHAP".

Unfortunately it doesn't seem that MS-CHAP is supported without a custom 
build of PPPD. That leads to a real rats nest of problems with the latest 
sources:

can't locate "des.h" if USE_CRYPT is undefined

USE_CRYPT uses the non-exportable crypt routines

chap_ms.c has missing includes for string.h, unistd.h

chap_ms.c has a number of missing prototypes for internal routines

chap_ms.c uses MD4 routines including a "reverse" function that's nowhere 
to be found while the rest of PPPD uses MD5 routines. (Can these be 
mixed? Should they be?)

Has anyone successfully build PPP 2.3.1 with the MS_CHAP option?

-bob