[pptp-server] CHAP still not working!

tmk tmk at netmagic.net
Mon Aug 2 02:30:14 CDT 1999


ok, remotename is the username, name is the server name, so name bkw and
remotename bkw mean the options line should be:

bkw      bkw     test     *

you might also need to try (assuming name bkw option is used, and log on to
domain is checked on the windows box, and the domain is bkw, username bkw

bkw\\\\bkw        bkw     test    *

as sometimes \'s need to be escaped

otherwise just do: username    linux-server-name    pass    * [note no \\ in
username]

Kevin

> This still will not work! I have tried it all! with ZERO luck
>
> /etc/ppp/options
> debug
> auth
> name bkw
> remotename bkw  <- This causes it all to die and give error
> require-chap
> proxyarp
> lock
> +chap
> +chapms
> +chapms-v2
> mppe-40
> mppe-128
> mppe-stateless
>
> /etc/ppp/chap-secrets
> # Secrets for authentication using
> # client          server    secret     IP addresses
> bkw\\bkw        bkw     test    *
> bkw\\wguy       bkw     test    *
> bkw     bkw\\bkw        test    *  <- This doesnt work either
> wguy    bkw\\wguy       test    *
>
> I need this to work with multi users any Ideas??
>
> thanks,
> Brian
>
>
>
>
>
> ----- Original Message -----
> From: Matthew Ramsay <matthewr at moreton.com.au>
> To: Brian west <brian at eplazaonline.com>
> Cc: <pptp-server at lists.schulte.org>
> Sent: Sunday, August 01, 1999 8:55 PM
> Subject: Re: [pptp-server] (no subject)
>
>
> > 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!
>
>
> _______________________________________________
> 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