[pptp-server] CHAP still not working!

Toktar, Emir EMIR.TOKTAR at bra.xerox.com
Mon Aug 2 22:37:56 CDT 1999


Is your client Win 95/ NT??

I had a problem when I make a conecction form clients to 
VPN Server (Linux).



When I prompt a Dialup Conection, I did:

Name :	User
Password:	Passw
Domain:	<<same the Domain NT, for example, MyDomain>>*** 
//is your Domain Network, not domain DNS

==========================================================
** If you fill with your Domain, for example, "MyDomain" , 
your files will be:

/etc/ppp/options
debug
auth
name MyDomain
require-chap
proxyarp
lock
...

//etc/ppp/chap-secrets
# Secrets for authentication using
# client          server    secret     IP addresses
Mydomain\\bkw        bkw     test    *
....

=============================================================
** If you fill with the name or IP Linux Server,or yet, BLANK,
your files will be:

Name :	User
Password:	Passw
Domain:	<<same the Linux Server>> or "  "

/etc/ppp/options
debug
auth
name bwk // or bwk.mydomaindns.com
require-chap
proxyarp
lock
...

//etc/ppp/chap-secrets
# Secrets for authentication using
# client          server    secret     IP addresses
user1_bwk        bkw     passw_test    *
....

Sorry if I don´t understand your question or about my English!!!

If I can help you anything...


Regards


Emir Toktar

Tel : +55  41 340-7157
emir.toktar at bra.xerox.com 
toktar at per.com.br
toktar at ppgia.pucpr.br




-----Original Message-----
From: Brian west [mailto:brian at eplazaonline.com]
Sent: Monday, August 02, 1999 2:02 AM
To: Matthew Ramsay
Cc: pptp-server at lists.schulte.org
Subject: Re: [pptp-server] CHAP still not working!


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!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Emir Toktar.vcf
Type: application/octet-stream
Size: 420 bytes
Desc: not available
URL: <http://lists.schulte.org/mailman/private/pptp-server/attachments/19990802/70235a49/attachment.obj>


More information about the pptp-server mailing list