*BSD News Article 87793


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!lucy.swin.edu.au!news.rmit.EDU.AU!goanna.cs.rmit.edu.au!news.apana.org.au!cantor.edge.net.au!news.teragen.com.au!news.access.net.au!news.mel.connect.com.au!news.mel.aone.net.au!grumpy.fl.net.au!news.webspan.net!ix.netcom.com!howland.erols.net!worldnet.att.net!hunter.premier.net!news.lightlink.com!news2.interlog.com!news.interlog.com!news
From: Allen Stowe <astowe@interlog.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: PPP to an NT Server (Long message)
Date: Wed, 29 Jan 1997 22:40:22 -0500
Organization: InterLog Internet Services
Lines: 114
Message-ID: <32F01826.41C67EA6@interlog.com>
NNTP-Posting-Host: ip226-67.cc.interlog.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.01 (X11; I; FreeBSD 2.1.6-RELEASE i386)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:34712

Hi All....

Sorry for the long message but this is really bugging me! (Please don't
flame!)

I am running into a problem trying to connect my PPP(tun0) to an NT 3.51
server with ChilliPort and USR. The PPP connection works fine to my ISP
(CHAP) and to a Xylogics terminal server (PAP or CHAP) but it fails to
authenticate me using CHAP to an NT server. MSCHAP is not enabled on the
NT server.

I have included a snippit of the ppp.log file for your review. I suspect
that Micro$oft is not playing the rules of the game with CHAP. Can
someone please enlighten. I have tried this with PAP and CHAP and the
same sequence of events. The connection works fine with NT, Win95 or
Trumpet so something is not cool with my PPP config or ?. The following
ppp.conf is for the connection:

default:
       	set device /dev/cuaa1
       	set speed 57600
       	disable lqr
       	deny lqr
       	set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0
OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT"
       	set redial 3 10

# Start manual dial to NT
nt:
        set authname domain\username
        set authkey sorryremoved
        set phone xxx-xxx-xxxx
        set timeout 1200
        set openmode active
        deny chap
        accept pap
        set ifaddr 127.1.1.1/0 127.2.2.2/0 255.255.255.0
        add 0 0 127.2.2.2
# End manual dial to NT

Log file snippit:

01-29 21:47:57 [16605] Using interface: tun0
01-29 21:47:57 [16605] PPP Started.
01-29 21:48:33 [16605] *Connected!
01-29 21:48:33 [16605] LCP: state change Initial --> Closed
01-29 21:48:33 [16605] LCP: SendConfigReq
01-29 21:48:33 [16605]  ACFCOMP
01-29 21:48:33 [16605]  PROTOCOMP
01-29 21:48:33 [16605]  ACCMAP [6] 00000000
01-29 21:48:33 [16605]  MRU [4] 1500
01-29 21:48:33 [16605]  MAGICNUM [6] 25336c15
01-29 21:48:33 [16605] LCP: state change Closed --> Req-Sent
01-29 21:48:36 [16605] LCP: SendConfigReq
01-29 21:48:36 [16605]  ACFCOMP
01-29 21:48:36 [16605]  PROTOCOMP
01-29 21:48:36 [16605]  ACCMAP [6] 00000000
01-29 21:48:36 [16605]  MRU [4] 1500
01-29 21:48:36 [16605]  MAGICNUM [6] 25336c15
01-29 21:48:36 [16605] LCP: Received Configure Request (0) state =
Req-Sent (6)
01-29 21:48:36 [16605]  ACCMAP 00000000
01-29 21:48:36 [16605]  AUTHPROTO proto = c223
01-29 21:48:36 [16605]  MAGICNUM 00004859
01-29 21:48:36 [16605]  PROTOCOMP
01-29 21:48:36 [16605]  ACFCOMP
01-29 21:48:36 [16605] LCP:  SendConfigNak(Req-Sent)
01-29 21:48:36 [16605]  AUTHPROTO proto = c023
01-29 21:48:36 [16605] LCP: Received Configure Ack (2) state = Req-Sent
(6)
01-29 21:48:36 [16605] LCP: state change Req-Sent --> Ack-Rcvd
01-29 21:48:36 [16605] LCP: Received Configure Request (1) state =
Ack-Rcvd (7)
01-29 21:48:36 [16605]  ACCMAP 00000000
01-29 21:48:36 [16605]  AUTHPROTO proto = c223
01-29 21:48:36 [16605]  MAGICNUM 00004859
01-29 21:48:36 [16605]  PROTOCOMP
01-29 21:48:36 [16605]  ACFCOMP
01-29 21:48:36 [16605] LCP:  SendConfigNak(Ack-Rcvd)
01-29 21:48:36 [16605]  AUTHPROTO proto = c023
01-29 21:48:36 [16605] LCP: Received Configure Request (2) state =
Ack-Rcvd (7)
01-29 21:48:36 [16605]  ACCMAP 00000000
01-29 21:48:36 [16605]  AUTHPROTO proto = c223
01-29 21:48:36 [16605]  MAGICNUM 00004859
01-29 21:48:36 [16605]  PROTOCOMP
01-29 21:48:36 [16605]  ACFCOMP
01-29 21:48:36 [16605] LCP:  SendConfigNak(Ack-Rcvd)
01-29 21:48:36 [16605]  AUTHPROTO proto = c023
01-29 21:48:37 [16605] LCP: Received Configure Request (2) state =
Ack-Rcvd (7)
01-29 21:48:37 [16605]  ACCMAP 00000000
01-29 21:48:37 [16605]  AUTHPROTO proto = c223
01-29 21:48:37 [16605]  MAGICNUM 00004859
01-29 21:48:37 [16605]  PROTOCOMP
01-29 21:48:37 [16605]  ACFCOMP
01-29 21:48:37 [16605] LCP:  SendConfigNak(Ack-Rcvd)

and on and on..... Here is the diconnect sequence.

01-29 21:48:49 [16605] LCP: Received Terminate Ack (3) state = Closing
(4)
01-29 21:48:49 [16605] LCP: state change Closing --> Closed
01-29 21:48:49 [16605] LCP: LayerFinish
01-29 21:48:49 [16605] Phase: Dead
01-29 21:49:01 [16605] PPP Terminated.
-- 
///////////////////////////////
	Allen Stowe
	Ajax, Ontario
    (That's in Canada!)
http://www.interlog.com/~astowe
mailto:astowe@interlog.com
///////////////////////////////