[pptp-server] password expirations

Gill, Vern vgill at technologist.com
Thu Feb 15 09:45:04 CST 2001


You would need to set up samba, and have that perform the password
expiry functionality. You should take a look at www.samba.org, or
www.samba-tng.org.
Then, apply the patch that allows pptp, or more specifically pppd to use
samba password database for chap logins. I will not go into detail about
how to setup samba, nor will I tell you where to get the patch that will
allow pppd to use smbpasswd for chap logins. I do not know what your
configuration is, and therefore I could not hope to guess what patches
you would need. I do not take responsibility for anything you do with
this information.

If you are using ppp-2.4.0, you can use the following;

http://linus.yi.org/smbpw-mppe-stripdom-requiremppe.diff.bz2

I didn't write any of this stuff, I only combined them into a single
diff.

This patch combines the following functions;
mppe for ppp
use smb passwd file
strip ms domain
require mppe
require mppe-stateless

To use this patch, you need the following;
/etc/modules.conf
alias   ppp-compress-18         ppp_mppe

/etc/ppp/chap-secrets
*               *       &/home/samba/smbpasswd          *

/etc/ppp/options.pptpd
chapms-strip-domain
require-mppe
require-mppe-stateless

This should be applied to a pristine ppp-2.4.0 source tree. The top of
the patch has the instructions for applying...

Again, I did NOT create these patches, I only combined them into one.

Enjoy...



More information about the pptp-server mailing list