ppp icon indicating copy to clipboard operation
ppp copied to clipboard

--disable-microsoft-extensions requires --disable-peap

Open willyamcts opened this issue 2 years ago • 6 comments

When disable Microsoft Extension is required disable PEAP, both are not dependent correct?

if not using --disable-peap the error happens in compilation:

# ./autogen.sh --prefix=/usr/local/pppd --disable-microsoft-extensions

peap.c: In function ‘peap_init’:
peap.c:522:12: error: ‘struct peap_state’ has no member named ‘chap’
  522 |         psm->chap = chap_find_digest(CHAP_MICROSOFT_V2);
      |            ^~
make[2]: *** [Makefile:1492: pppd-peap.o] Error 1

willyamcts avatar Jul 03 '23 14:07 willyamcts

@paulusmack, @enaess: Have you seen this ticket?

Neustradamus avatar Jul 07 '23 19:07 Neustradamus

Right now, the only peap method supported is mschapv2, so yes they are sort of dependent on each other. Technically, in the future they can be disjoint...

enaess avatar Jul 07 '23 20:07 enaess

@enaess: Can you look it?

Neustradamus avatar Nov 10 '23 15:11 Neustradamus