FIX: A Point-to-Point Protocol (PPP) Connection Does Not Work When You Use CHAP Authentication (822344)



The information in this article applies to:

  • Microsoft Windows CE Platform Builder 3.0

SYMPTOMS

Authentication may not succeed when establishing a connection to some Point-to-Point Protocol (PPP) servers.

When renegotiating authentication on a PPP link, such as when authenticating through a Layer Two Tunneling Protocol (L2TP) connection, the authentication may not succeed if both the first authentication and the re-authentication use the Challenge-Handshake Authentication Protocol (CHAP) method.

This behavior does not occur if you use a combination of CHAP and another authentication method, for example, Password Authentication Protocol (PAP).

CAUSE

The CHAP protocol keeps a counter to sequence the data packets that are used during authentication. When renegotiation starts, although this counter is not reset in the Windows CE PPP driver, the peer does reset the counter. Because Windows CE is expecting a different sequence number than the peer is sending, the authentication sequence is terminated and you receive an error.

RESOLUTION

Hotfix Information

A supported software update is now available from Microsoft as Windows CE 3.0 Core OS QFE 822344. To resolve this problem immediately, click the following article number for information about obtaining Windows CE Platform Builder and core operating system software updates:

837392 How to locate core operating system fixes for Microsoft Windows CE Platform Builder products

Prerequisites

Install all previously released updates for this version of the Windows CE operating system.

Hotfix Replacement Information

You do not have to restart your computer after you apply this hotfix. This hotfix does not replace any other hotfixes.

File Information

The English version of this package has the file attributes (or later) that are listed in the following table.
   Date         Time   Version       Size    File name
   -------------------------------------------------------------------------------

   16-Jun-2003  21:37  3.0.3.613    760,408  Wincepb30-030613-kb822344-arm720.exe  
   16-Jun-2003  21:37  3.0.3.613    780,888  Wincepb30-030613-kb822344-ppc403.exe
   16-Jun-2003  21:37  3.0.3.613    780,888  Wincepb30-030613-kb822344-ppc821.exe  
   16-Jun-2003  21:37  3.0.3.613    789,080  Wincepb30-030613-kb822344-r3000.exe
   16-Jun-2003  21:37  3.0.3.613    789,080  Wincepb30-030613-kb822344-r4100.exe  
   16-Jun-2003  21:37  3.0.3.613    756,312  Wincepb30-030613-kb822344-r4111.exe
   16-Jun-2003  21:37  3.0.3.613    789,080  Wincepb30-030613-kb822344-r4300.exe
   16-Jun-2003  21:37  3.0.3.613    760,408  Wincepb30-030613-kb822344-sa1100.exe
   16-Jun-2003  21:37  3.0.3.613    776,792  Wincepb30-030613-kb822344-sh3.exe
   16-Jun-2003  21:37  3.0.3.613    776,792  Wincepb30-030613-kb822344-sh4.exe
   16-Jun-2003  21:37  3.0.3.613    764,504  Wincepb30-030613-kb822344-thumb.exe
   16-Jun-2003  21:37  3.0.3.613    739,928  Wincepb30-030613-kb822344-x86.exe
The English version of this fix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
   Date         Time                      Size    File name
   --------------------------------------------------------------

   Path: Public\Commaddon\Oak\Lib\Arm\Arm720\Ce\Debug
   05-Jun-2003  16:42                    213,708  Ppp2auth.lib
   05-Jun-2003  16:42                     86,016  Ppp2auth.pdb

   Path: Public\Commaddon\Oak\Lib\Arm\Arm720\Ce\Retail
   05-Jun-2003  16:41                    155,264  Ppp2auth.lib
   05-Jun-2003  16:41                     86,016  Ppp2auth.pdb

   Path: Public\Commaddon\Oak\Lib\Arm\Sa1100\Ce\Debug
   05-Jun-2003  16:15                    213,444  Ppp2auth.lib
   05-Jun-2003  16:15                     86,016  Ppp2auth.pdb

   Path: Public\Commaddon\Oak\Lib\Arm\Sa1100\Ce\Retail
   05-Jun-2003  16:14                    154,922  Ppp2auth.lib
   05-Jun-2003  16:14                     86,016  Ppp2auth.pdb

   Path: Public\Commaddon\Oak\Lib\Mips\R3000\Ce\Debug
   05-Jun-2003  16:25                    232,820  Ppp2auth.lib
   05-Jun-2003  16:25                     94,208  Ppp2auth.pdb

   Path: Public\Commaddon\Oak\Lib\Mips\R3000\Ce\Retail
   05-Jun-2003  16:23                    169,042  Ppp2auth.lib
   05-Jun-2003  16:23                     94,208  Ppp2auth.pdb

   Path: Public\Commaddon\Oak\Lib\Mips\R4100\Ce\Debug
   05-Jun-2003  16:28                    232,904  Ppp2auth.lib
   05-Jun-2003  16:28                     94,208  Ppp2auth.pdb

   Path: Public\Commaddon\Oak\Lib\Mips\R4100\Ce\Retail
   05-Jun-2003  16:27                    169,006  Ppp2auth.lib
   05-Jun-2003  16:27                     94,208  Ppp2auth.pdb

   Path: Public\Commaddon\Oak\Lib\Mips\R4111\Ce\Debug
   05-Jun-2003  16:31                    206,516  Ppp2auth.lib
   05-Jun-2003  16:31                     94,208  Ppp2auth.pdb

   Path: Public\Commaddon\Oak\Lib\Mips\R4111\Ce\Retail
   05-Jun-2003  16:29                    143,182  Ppp2auth.lib
   05-Jun-2003  16:29                     94,208  Ppp2auth.pdb

   Path: Public\Commaddon\Oak\Lib\Mips\R4300\Ce\Debug
   05-Jun-2003  16:34                    232,820  Ppp2auth.lib
   05-Jun-2003  16:34                     94,208  Ppp2auth.pdb

   Path: Public\Commaddon\Oak\Lib\Mips\R4300\Ce\Retail
   05-Jun-2003  16:32                    169,006  Ppp2auth.lib
   05-Jun-2003  16:32                     94,208  Ppp2auth.pdb

   Path: Public\Commaddon\Oak\Lib\Ppc\Ppc403\Ce\Debug
   05-Jun-2003  16:37                    228,538  Ppp2auth.lib
   05-Jun-2003  16:37                     94,208  Ppp2auth.pdb

   Path: Public\Commaddon\Oak\Lib\Ppc\Ppc403\Ce\Retail
   05-Jun-2003  16:35                    158,782  Ppp2auth.lib
   05-Jun-2003  16:35                     94,208  Ppp2auth.pdb

   Path: Public\Commaddon\Oak\Lib\Ppc\Ppc821\Ce\Debug
   05-Jun-2003  16:40                    228,538  Ppp2auth.lib
   05-Jun-2003  16:40                     94,208  Ppp2auth.pdb

   Path: Public\Commaddon\Oak\Lib\Ppc\Ppc821\Ce\Retail
   05-Jun-2003  16:38                    158,782  Ppp2auth.lib
   05-Jun-2003  16:38                     94,208  Ppp2auth.pdb

   Path: Public\Commaddon\Oak\Lib\Shx\Sh3\Ce\Debug
   05-Jun-2003  16:19                    212,422  Ppp2auth.lib
   05-Jun-2003  16:19                     94,208  Ppp2auth.pdb

   Path: Public\Commaddon\Oak\Lib\Shx\Sh3\Ce\Retail
   05-Jun-2003  16:17                    154,296  Ppp2auth.lib
   05-Jun-2003  16:17                     86,016  Ppp2auth.pdb

   Path: Public\Commaddon\Oak\Lib\Shx\Sh4\Ce\Debug
   05-Jun-2003  16:22                    212,242  Ppp2auth.lib
   05-Jun-2003  16:22                     86,016  Ppp2auth.pdb

   Path: Public\Commaddon\Oak\Lib\Shx\Sh4\Ce\Retail
   05-Jun-2003  16:20                    154,112  Ppp2auth.lib
   05-Jun-2003  16:20                     86,016  Ppp2auth.pdb

   Path: Public\Commaddon\Oak\Lib\Thumb\Arm720\Ce\Debug
   05-Jun-2003  16:45                    212,016  Ppp2auth.lib
   05-Jun-2003  16:45                     86,016  Ppp2auth.pdb

   Path: Public\Commaddon\Oak\Lib\Thumb\Arm720\Ce\Retail
   05-Jun-2003  16:44                    154,806  Ppp2auth.lib
   05-Jun-2003  16:44                     86,016  Ppp2auth.pdb

   Path: Public\Commaddon\Oak\Lib\X86\I486\Ce\Debug
   05-Jun-2003  16:12                    200,876  Ppp2auth.lib
   05-Jun-2003  16:12                     86,016  Ppp2auth.pdb

   Path: Public\Commaddon\Oak\Lib\X86\I486\Ce\Retail
   05-Jun-2003  16:11                    142,182  Ppp2auth.lib
   05-Jun-2003  16:11                     86,016  Ppp2auth.pdb

   Path: Public\Common\Oak\Lib\Arm\Arm720\Ce\Debug
   05-Jun-2003  16:42                    213,708  Ppp2auth.lib
   05-Jun-2003  16:42                     86,016  Ppp2auth.pdb

   Path: Public\Common\Oak\Lib\Arm\Arm720\Ce\Retail
   05-Jun-2003  16:41                    155,264  Ppp2auth.lib
   05-Jun-2003  16:41                     86,016  Ppp2auth.pdb

   Path: Public\Common\Oak\Lib\Arm\Sa1100\Ce\Debug
   05-Jun-2003  16:15                    213,444  Ppp2auth.lib
   05-Jun-2003  16:15                     86,016  Ppp2auth.pdb

   Path: Public\Common\Oak\Lib\Arm\Sa1100\Ce\Retail
   05-Jun-2003  16:14                    154,922  Ppp2auth.lib
   05-Jun-2003  16:14                     86,016  Ppp2auth.pdb

   Path: Public\Common\Oak\Lib\Mips\R3000\Ce\Debug
   05-Jun-2003  16:25                    232,820  Ppp2auth.lib
   05-Jun-2003  16:25                     94,208  Ppp2auth.pdb

   Path: Public\Common\Oak\Lib\Mips\R3000\Ce\Retail
   05-Jun-2003  16:23                    169,042  Ppp2auth.lib
   05-Jun-2003  16:23                     94,208  Ppp2auth.pdb

   Path: Public\Common\Oak\Lib\Mips\R4100\Ce\Debug
   05-Jun-2003  16:28                    232,904  Ppp2auth.lib
   05-Jun-2003  16:28                     94,208  Ppp2auth.pdb

   Path: Public\Common\Oak\Lib\Mips\R4100\Ce\Retail
   05-Jun-2003  16:27                    169,006  Ppp2auth.lib
   05-Jun-2003  16:27                     94,208  Ppp2auth.pdb

   Path: Public\Common\Oak\Lib\Mips\R4111\Ce\Debug
   05-Jun-2003  16:31                    206,516  Ppp2auth.lib
   05-Jun-2003  16:31                     94,208  Ppp2auth.pdb

   Path: Public\Common\Oak\Lib\Mips\R4111\Ce\Retail
   05-Jun-2003  16:29                    143,182  Ppp2auth.lib
   05-Jun-2003  16:29                     94,208  Ppp2auth.pdb

   Path: Public\Common\Oak\Lib\Mips\R4300\Ce\Debug
   05-Jun-2003  16:34                    232,820  Ppp2auth.lib
   05-Jun-2003  16:34                     94,208  Ppp2auth.pdb

   Path: Public\Common\Oak\Lib\Mips\R4300\Ce\Retail
   05-Jun-2003  16:32                    169,006  Ppp2auth.lib
   05-Jun-2003  16:32                     94,208  Ppp2auth.pdb

   Path: Public\Common\Oak\Lib\Ppc\Ppc403\Ce\Debug
   05-Jun-2003  16:37                    228,538  Ppp2auth.lib
   05-Jun-2003  16:37                     94,208  Ppp2auth.pdb

   Path: Public\Common\Oak\Lib\Ppc\Ppc403\Ce\Retail
   05-Jun-2003  16:35                    158,782  Ppp2auth.lib
   05-Jun-2003  16:35                     94,208  Ppp2auth.pdb

   Path: Public\Common\Oak\Lib\Ppc\Ppc821\Ce\Debug
   05-Jun-2003  16:40                    228,538  Ppp2auth.lib
   05-Jun-2003  16:40                     94,208  Ppp2auth.pdb

   Path: Public\Common\Oak\Lib\Ppc\Ppc821\Ce\Retail
   05-Jun-2003  16:38                    158,782  Ppp2auth.lib
   05-Jun-2003  16:38                     94,208  Ppp2auth.pdb

   Path: Public\Common\Oak\Lib\Shx\Sh3\Ce\Debug
   05-Jun-2003  16:19                    212,422  Ppp2auth.lib
   05-Jun-2003  16:19                     94,208  Ppp2auth.pdb

   Path: Public\Common\Oak\Lib\Shx\Sh3\Ce\Retail
   05-Jun-2003  16:17                    154,296  Ppp2auth.lib
   05-Jun-2003  16:17                     86,016  Ppp2auth.pdb

   Path: Public\Common\Oak\Lib\Shx\Sh4\Ce\Debug
   05-Jun-2003  16:22                    212,242  Ppp2auth.lib
   05-Jun-2003  16:22                     86,016  Ppp2auth.pdb

   Path: Public\Common\Oak\Lib\Shx\Sh4\Ce\Retail
   05-Jun-2003  16:20                    154,112  Ppp2auth.lib
   05-Jun-2003  16:20                     86,016  Ppp2auth.pdb

   Path: Public\Common\Oak\Lib\Thumb\Arm720\Ce\Debug
   05-Jun-2003  16:45                    212,016  Ppp2auth.lib
   05-Jun-2003  16:45                     86,016  Ppp2auth.pdb

   Path: Public\Common\Oak\Lib\Thumb\Arm720\Ce\Retail
   05-Jun-2003  16:44                    154,806  Ppp2auth.lib
   05-Jun-2003  16:44                     86,016  Ppp2auth.pdb

   Path: Public\Common\Oak\Lib\X86\I486\Ce\Debug
   05-Jun-2003  16:12                    200,876  Ppp2auth.lib
   05-Jun-2003  16:12                     86,016  Ppp2auth.pdb

   Path: Public\Common\Oak\Lib\X86\I486\Ce\Retail
   05-Jun-2003  16:11                    142,182  Ppp2auth.lib
   05-Jun-2003  16:11                     86,016  Ppp2auth.pdb

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

This update corrects the behavior of the PPP driver to reset the packet sequence number when authentication is restarted.

Modification Type:MinorLast Reviewed:8/18/2005
Keywords:kbBug kbfix kbQFE KB822344 kbAudDeveloper