[pptp-server] pptp + PAM

Steve Langasek vorlon at netexpress.net
Mon Jun 3 13:00:37 CDT 2002


On Mon, Jun 03, 2002 at 02:23:00PM -0300, Federico Edelman wrote:
> Umm.. Where can I find information about how configure pptp + pam?

> I put in /etc/pptpd.conf:
> speed 115200
> option /etc/ppp/pptpd-options
> debug
> localip 192.168.0.3-200
> remoteip 192.168.0.3-200

> I put in /etc/ppp/pptpd-options:
> debug
> name	myhost
> auth
> login
> netmask 255.255.255.0
> nodefaultroute
> proxyarp
> lock

> The /etc/ppp/chap-secrets and /etc/ppp/pap-secrets are empty, because I will
> authenticate through PAM only.

> I compile pppd with USE_PAM=y, HAS_SHADOW=y, CHAPMS=y, USE_CRYPT=y, but If I
> put in /etc/ppp/pptpd-options '+chapms' or 'require-chapms' I get
> 'unrecognized option require-pam'.

> What's wrong?

You misunderstand how MS-CHAP and PAM work.  You will never be able to
use these two technologies together, as they have incompatible designs.

Steve Langasek
postmodern programmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://lists.schulte.org/mailman/private/pptp-server/attachments/20020603/3474ef19/attachment.bin>


More information about the pptp-server mailing list