[pptp-server] (no subject)

Matthew Ramsay matthewr at moreton.com.au
Sun Aug 1 21:00:21 CDT 1999


I usually have mine setup like this (from memory):

/etc/ppp/chap-secrets
DOMAIN\\username servername password *

/etc/ppp/options.pptp
name servername

I think the correct way to do it may be this tho:
/etc/ppp/chap-secrets
DOMAIN\\username servername password *

/etc/ppp/options.pptp
name DOMAIN\\username
user DOMAIN\\username
remotename servername

I think both would work...? btw, I seem to recall reading somewhere that
the chap-secrets file should also reverse the order .. eg.
DOMAIN\\username servername password *
servername DOMAIN\\username password *

don't know why that is... anyone have any further comments?

cheers,
-matt

Brian west wrote:
> 
> Aug  1 15:35:49 www pptpd[8476]: CTRL: Client 208.165.104.20 control
> connection started
> Aug  1 15:35:49 www pptpd[8476]: CTRL: Starting call (launching pppd,
> opening GRE)
> Aug  1 15:35:49 www pppd[8477]: pppd 2.3.8 started by root, uid 0
> Aug  1 15:35:49 www pppd[8477]: Using interface ppp0
> Aug  1 15:35:49 www pppd[8477]: Connect: ppp0 <--> /dev/pts/4
> Aug  1 15:35:49 www pppd[8477]: No CHAP secret found for authenticating
> \\user
> Aug  1 15:35:49 www pppd[8477]: MSCHAP peer authentication failed for remote
> host  \\user
> Aug  1 15:35:49 www pppd[8477]: Connection terminated.
> Aug  1 15:35:49 www pppd[8477]: Exit.
> Aug  1 15:35:49 www pptpd[8476]: GRE: read(fd=6,buffer=804d380,len=8196)
> from PTY failed: status = -1 error = Input/output error
> Aug  1 15:35:49 www pptpd[8476]: CTRL: PTY read or GRE write failed
> (pty,gre)=(6,7)
> Aug  1 15:35:49 www pptpd[8476]: CTRL: Client 208.165.104.20 control
> connection finished
> 
> Ok what is the format of the chap-secrets file I cant seem to get it to auth
> now!
> 
> Thanks,
> Brian
> 
> _______________________________________________
> pptp-server maillist  -  pptp-server at lists.schulte.org
> http://lists.schulte.org/mailman/listinfo/pptp-server
> List services provided by www.schulte.org!




More information about the pptp-server mailing list