Problems logging into poptop pptpd

Caleb Walker freebsd at cwalk.org
Wed Oct 29 19:34:06 PST 2003


I am trying to configure poptop on my FreeBSD 5.0-RELEASE system.  I am
getting the error on my Windows XP client that, "Error 691: Access was
denied because username and/or password was invalid on the domain."  I am
entering the information that is in my chap-secrets file and I am trying a
regular UNIX account.  These are my files:

ppp.conf:
pptp:
 set timeout 0
 set dial
 set login
 set accmap fffffff
 set ifaddr 192.168.1.1 192.168.1.101-192.168.1.105 255.255.255.255
 set log phase lcp ipcp command
 set timeout 1800
 enable mschap
 enable mschapv2 mppe
 set mppe * *
 enable proxy
 accept dns
 set dns 192.168.1.1
 enable passwdauth
 disable pap
 disable utmp

options.pptp:
lock
debug
name pptpd
proxyarp
auth
-chap
-chapms
+chapms-v2
require-mppe
lcp-echo-failure 3
lcp-echo-interval 5
ipcp-accept-local
ipcp-accept-remote
mppe-128
mppe-stateless
nodeflate
nobsdcomp
mppe-40

/usr/local/etc/pptp.conf:
localip 192.168.1.1
remoteip        192.168.1.101-105
option /etc/ppp/ppp.conf


ppp.log:
Oct 29 19:05:29 ns1 ppp[31498]: Phase: Using interface: tun0
Oct 29 19:05:29 ns1 ppp[31498]: Phase: deflink: Created in closed state
Oct 29 19:05:29 ns1 ppp[31498]: Command: pptp: set timeout 1800
Oct 29 19:05:29 ns1 ppp[31498]: Command: pptp: enable mschap
Oct 29 19:05:29 ns1 ppp[31498]: Command: pptp: enable mschapv2 mppe
Oct 29 19:05:29 ns1 ppp[31498]: Command: pptp: set mppe * *
Oct 29 19:05:29 ns1 ppp[31498]: Command: pptp: enable proxy
Oct 29 19:05:29 ns1 ppp[31498]: Command: pptp: accept dns
Oct 29 19:05:29 ns1 ppp[31498]: Command: pptp: set dns 192.168.1.1
Oct 29 19:05:29 ns1 ppp[31498]: Command: pptp: enable passwdauth
Oct 29 19:05:29 ns1 ppp[31498]: Command: pptp: disable pap
Oct 29 19:05:29 ns1 ppp[31498]: Command: pptp: disable utmp
Oct 29 19:05:29 ns1 ppp[31498]: Phase: PPP Started (direct mode).
Oct 29 19:05:29 ns1 ppp[31498]: Phase: bundle: Establish
Oct 29 19:05:29 ns1 ppp[31498]: Phase: deflink: closed -> opening
Oct 29 19:05:29 ns1 ppp[31498]: Phase: deflink: Connected!
Oct 29 19:05:29 ns1 ppp[31498]: Phase: deflink: opening -> carrier
Oct 29 19:05:29 ns1 ppp[31498]: Phase: deflink: carrier -> lcp
Oct 29 19:05:29 ns1 ppp[31498]: LCP: FSM: Using "deflink" as a transport
Oct 29 19:05:29 ns1 ppp[31498]: LCP: deflink: State change Initial --> Closed
Oct 29 19:05:29 ns1 ppp[31498]: LCP: deflink: State change Closed --> Stopped
Oct 29 19:05:30 ns1 ppp[31498]: LCP: deflink: LayerStart
Oct 29 19:05:30 ns1 ppp[31498]: LCP: deflink: SendConfigReq(1) state =
Stopped
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  ACFCOMP[2]
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  PROTOCOMP[2]
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  ACCMAP[6] 0x0fffffff
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  MRU[4] 1500
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  MAGICNUM[6] 0x39ead7e2
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  AUTHPROTO[5] 0xc223 (CHAP 0x80)
Oct 29 19:05:30 ns1 ppp[31498]: LCP: deflink: State change Stopped -->
Req-Sent
Oct 29 19:05:30 ns1 ppp[31498]: LCP: deflink: RecvConfigNak(1) state =
Req-Sent
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  AUTHPROTO[5] 0xc223 (CHAP 0x81)
Oct 29 19:05:30 ns1 ppp[31498]: LCP: deflink: SendConfigReq(2) state =
Req-Sent
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  ACFCOMP[2]
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  PROTOCOMP[2]
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  ACCMAP[6] 0x0fffffff
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  MRU[4] 1500
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  MAGICNUM[6] 0x39ead7e2
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  AUTHPROTO[5] 0xc223 (CHAP 0x81)
Oct 29 19:05:30 ns1 ppp[31498]: LCP: deflink: RecvConfigAck(2) state =
Req-Sent
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  ACFCOMP[2]
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  PROTOCOMP[2]
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  ACCMAP[6] 0x0fffffff
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  MRU[4] 1500
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  MAGICNUM[6] 0x39ead7e2
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  AUTHPROTO[5] 0xc223 (CHAP 0x81)
Oct 29 19:05:30 ns1 ppp[31498]: LCP: deflink: State change Req-Sent -->
Ack-Rcvd
Oct 29 19:05:30 ns1 ppp[31498]: LCP: deflink: RecvConfigReq(1) state =
Ack-Rcvd
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  MRU[4] 1400
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  MAGICNUM[6] 0x35f61c83
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  PROTOCOMP[2]
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  ACFCOMP[2]
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  CALLBACK[3] CBCP
Oct 29 19:05:30 ns1 ppp[31498]: LCP: deflink: SendConfigRej(1) state =
Ack-Rcvd
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  CALLBACK[3] CBCP
Oct 29 19:05:30 ns1 ppp[31498]: LCP: deflink: RecvConfigReq(2) state =
Ack-Rcvd
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  MRU[4] 1400
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  MAGICNUM[6] 0x35f61c83
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  PROTOCOMP[2]
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  ACFCOMP[2]
Oct 29 19:05:30 ns1 ppp[31498]: LCP: deflink: SendConfigAck(2) state =
Ack-Rcvd
Oct 29 19:00:00 ns1 newsyslog[31405]: logfile turned over
Oct 29 19:05:29 ns1 ppp[31498]: Phase: Using interface: tun0
Oct 29 19:05:29 ns1 ppp[31498]: Phase: deflink: Created in closed state
Oct 29 19:05:29 ns1 ppp[31498]: Command: pptp: set timeout 1800
Oct 29 19:05:29 ns1 ppp[31498]: Command: pptp: enable mschap
Oct 29 19:05:29 ns1 ppp[31498]: Command: pptp: enable mschapv2 mppe
Oct 29 19:05:29 ns1 ppp[31498]: Command: pptp: set mppe * *
Oct 29 19:05:29 ns1 ppp[31498]: Command: pptp: enable proxy
Oct 29 19:05:29 ns1 ppp[31498]: Command: pptp: accept dns
Oct 29 19:05:29 ns1 ppp[31498]: Command: pptp: set dns 192.168.1.1
Oct 29 19:05:29 ns1 ppp[31498]: Command: pptp: enable passwdauth
Oct 29 19:05:29 ns1 ppp[31498]: Command: pptp: disable pap
Oct 29 19:05:29 ns1 ppp[31498]: Command: pptp: disable utmp
Oct 29 19:05:29 ns1 ppp[31498]: Phase: PPP Started (direct mode).
Oct 29 19:05:29 ns1 ppp[31498]: Phase: bundle: Establish
Oct 29 19:05:29 ns1 ppp[31498]: Phase: deflink: closed -> opening
Oct 29 19:05:29 ns1 ppp[31498]: Phase: deflink: Connected!
Oct 29 19:05:29 ns1 ppp[31498]: Phase: deflink: opening -> carrier
Oct 29 19:05:29 ns1 ppp[31498]: Phase: deflink: carrier -> lcp
Oct 29 19:05:29 ns1 ppp[31498]: LCP: FSM: Using "deflink" as a transport
Oct 29 19:05:29 ns1 ppp[31498]: LCP: deflink: State change Initial --> Closed
Oct 29 19:05:29 ns1 ppp[31498]: LCP: deflink: State change Closed --> Stopped
Oct 29 19:05:30 ns1 ppp[31498]: LCP: deflink: LayerStart
Oct 29 19:05:30 ns1 ppp[31498]: LCP: deflink: SendConfigReq(1) state =
Stopped
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  ACFCOMP[2]
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  PROTOCOMP[2]
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  ACCMAP[6] 0x0fffffff
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  MRU[4] 1500
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  MAGICNUM[6] 0x39ead7e2
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  AUTHPROTO[5] 0xc223 (CHAP 0x80)
Oct 29 19:05:30 ns1 ppp[31498]: LCP: deflink: State change Stopped -->
Req-Sent
Oct 29 19:05:30 ns1 ppp[31498]: LCP: deflink: RecvConfigNak(1) state =
Req-Sent
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  AUTHPROTO[5] 0xc223 (CHAP 0x81)
Oct 29 19:05:30 ns1 ppp[31498]: LCP: deflink: SendConfigReq(2) state =
Req-Sent
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  ACFCOMP[2]
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  PROTOCOMP[2]
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  ACCMAP[6] 0x0fffffff
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  MRU[4] 1500
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  MAGICNUM[6] 0x39ead7e2
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  AUTHPROTO[5] 0xc223 (CHAP 0x81)
Oct 29 19:05:30 ns1 ppp[31498]: LCP: deflink: RecvConfigAck(2) state =
Req-Sent
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  ACFCOMP[2]
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  PROTOCOMP[2]
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  ACCMAP[6] 0x0fffffff
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  MRU[4] 1500
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  MAGICNUM[6] 0x39ead7e2
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  AUTHPROTO[5] 0xc223 (CHAP 0x81)
Oct 29 19:05:30 ns1 ppp[31498]: LCP: deflink: State change Req-Sent -->
Ack-Rcvd
Oct 29 19:05:30 ns1 ppp[31498]: LCP: deflink: RecvConfigReq(1) state =
Ack-Rcvd
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  MRU[4] 1400
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  MAGICNUM[6] 0x35f61c83
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  PROTOCOMP[2]
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  ACFCOMP[2]
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  CALLBACK[3] CBCP
Oct 29 19:05:30 ns1 ppp[31498]: LCP: deflink: SendConfigRej(1) state =
Ack-Rcvd
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  CALLBACK[3] CBCP
Oct 29 19:05:30 ns1 ppp[31498]: LCP: deflink: RecvConfigReq(2) state =
Ack-Rcvd
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  MRU[4] 1400
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  MAGICNUM[6] 0x35f61c83
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  PROTOCOMP[2]
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  ACFCOMP[2]
Oct 29 19:05:30 ns1 ppp[31498]: LCP: deflink: SendConfigAck(2) state =
Ack-Rcvd
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  MRU[4] 1400
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  MAGICNUM[6] 0x35f61c83
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  PROTOCOMP[2]
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  ACFCOMP[2]
Oct 29 19:05:30 ns1 ppp[31498]: LCP: deflink: State change Ack-Rcvd -->
Opened
Oct 29 19:05:30 ns1 ppp[31498]: LCP: deflink: LayerUp
Oct 29 19:05:30 ns1 ppp[31498]: Phase: bundle: Authenticate
Oct 29 19:05:30 ns1 ppp[31498]: Phase: deflink: his = none, mine = CHAP 0x81
Oct 29 19:05:30 ns1 ppp[31498]: Phase: Chap Output: CHALLENGE
Oct 29 19:05:30 ns1 ppp[31498]: LCP: deflink: RecvIdent(3) state = Opened
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  MAGICNUM 35f61c83
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  TEXT MSRASV5.10
Oct 29 19:05:30 ns1 ppp[31498]: LCP: deflink: RecvIdent(4) state = Opened
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  MAGICNUM 35f61c83
Oct 29 19:05:30 ns1 ppp[31498]: LCP:  TEXT MSRAS-1-WHL03107793
Oct 29 19:05:30 ns1 ppp[31498]: Phase: Chap Input: RESPONSE (49 bytes from
cwalker)
Oct 29 19:05:30 ns1 ppp[31498]: Phase: Chap Output: FAILURE
Oct 29 19:05:30 ns1 ppp[31498]: LCP: deflink: LayerDown
Oct 29 19:05:30 ns1 ppp[31498]: LCP: deflink: SendTerminateReq(5) state =
Opened
Oct 29 19:05:30 ns1 ppp[31498]: LCP: deflink: State change Opened --> Closing
Oct 29 19:05:30 ns1 ppp[31498]: LCP: deflink: RecvTerminateReq(5) state =
Closing
Oct 29 19:05:30 ns1 ppp[31498]: LCP: deflink: SendTerminateAck(5) state =
Closing
Oct 29 19:05:30 ns1 ppp[31498]: LCP: deflink: RecvTerminateAck(5) state =
Closing
Oct 29 19:05:30 ns1 ppp[31498]: LCP: deflink: LayerFinish
Oct 29 19:05:30 ns1 ppp[31498]: LCP: deflink: State change Closing --> Closed
Oct 29 19:05:30 ns1 ppp[31498]: LCP: deflink: State change Closed --> Initial
Oct 29 19:05:30 ns1 ppp[31498]: Phase: deflink: Disconnected!
Oct 29 19:05:30 ns1 ppp[31498]: Phase: deflink: Connect time: 1 secs: 371
octets in, 317 octets out
Oct 29 19:05:30 ns1 ppp[31498]: Phase: deflink: 9 packets in, 8 packets out
Oct 29 19:05:30 ns1 ppp[31498]: Phase:  total 688 bytes/sec, peak 0
bytes/sec on Wed Oct 29 19:05:29 2003
Oct 29 19:05:30 ns1 ppp[31498]: Phase: deflink: lcp -> closed
Oct 29 19:05:30 ns1 ppp[31498]: Phase: bundle: Dead
Oct 29 19:05:30 ns1 ppp[31498]: Phase: PPP Terminated (normal).


Please let me know what I am doing wrong.  Thank you very much in advance.


More information about the freebsd-questions mailing list