[pptp-server] pptp + PAM

Federico Edelman fedelman at claxson.com
Mon Jun 3 12:23:00 CDT 2002


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?

> -----Mensaje original-----
> De: bao [mailto:bao at gibbons.com]
> Enviado el: lunes, 03 de junio de 2002 14:07
> Para: Federico Edelman
> Asunto: Re: [pptp-server] pptp + PAM
> 
> For better understanding, do a "man pppd", it shows what the available
> options for pppd are.
> One is auth, another is require-pam or something like that. Also,
> there's +/-chap, +/-pam,
> +/-chapms-v2. These 3 are not in the man page, so you need to read the
> pptpd doc.
> 
> These options will go into the options file for pptpd.
> 
> Hope it helps
> 
> Federico Edelman wrote:
> 
> >
> >
> > Hi,
> >
> >         But, I don't understand. How can I do for pptp (or pppd) auth
> > through /etc/passwd and support PAM options?
> >
> > > -----Mensaje original-----
> > > De: bao [mailto:bao at gibbons.com]
> > > Enviado el: viernes, 31 de mayo de 2002 20:06
> > > Para: Federico Edelman
> > > Asunto: Re: [pptp-server] pptp + PAM
> > >
> > > i'm running pptp with Chap. However, I think setting up pap will be
> > > similar
> > >
> > > I don't know exactly what the options should be, but look into the
> > > options.pptpd. There are options to enable chap, pap, or ms-chap.
> > Then
> > > try to establish a pptp session and monitor the log at the same
> > time. If
> > > you can't log on, and the log says the client refuses to
> > authenticate,
> > > you're on the right path. The next thing to do is to set up the
> > account
> > > in /etc/ppp/pap-secrets.
> > > For each user account, put in the username, the server name, the
> > > password (in double quote), and the IP
> > >
> > > Hope it helps.
> > >
> > > Federico Edelman wrote:
> > >
> > > >
> > > >
> > > > I'm running a pptp on Linux Debian 2.2rev3, ppp-4.1,
> > PoPToP-v1.0.1.
> > > >
> > > > How can I setting pppd authenticate over PAM.
> > > >
> > > > I need a unique simultaneus login per user. I think that´s
> > possible
> > > > with PAM.
> > > >
> > > > Thanks for advance,
> > > >         Federico
> > > >
> > > > =-=-=
> > > > Federico Edelman Anaya
> > > > Internet Systems Administrator
> > > > Claxson - (+54-11) 4339-3848
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schulte.org/mailman/private/pptp-server/attachments/20020603/3e62ede1/attachment.html>


More information about the pptp-server mailing list