FIX: A Point-to-Point Protocol (PPP) Connection Is Unsuccessful When You Use CHAP Authentication (823253)



The information in this article applies to:

  • Microsoft Windows CE .NET 4.2

SYMPTOMS

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

When the authentication infrastructure tries to renegotiate authentication on a PPP link, such as when the connection is made through a Layer Two Tunneling Protocol (L2TP) link, 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, such as 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 expects a different sequence number than the peer sends, 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 4.2 Core OS QFE 823253. 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

This fix is supported only when all previously issued fixes for this product have also been installed.

Restart Requirement

You do not have to restart your computer after you apply this hotfix.

Hotfix Replacement Information

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
   ------------------------------------------------------------------------------

   29-Aug-2003  19:01  4.21     703,080  Wincepb42-030829-kb823253-armv4.exe
   29-Aug-2003  19:01  4.21     703,080  Wincepb42-030829-kb823253-armv4i.exe
   29-Aug-2003  19:01  4.21     711,272  Wincepb42-030829-kb823253-mipsii.exe  
   29-Aug-2003  19:01  4.21     711,272  Wincepb42-030829-kb823253-mipsii_fp.exe
   29-Aug-2003  19:01  4.21     711,272  Wincepb42-030829-kb823253-mipsiv.exe  
   29-Aug-2003  19:01  4.21     711,272  Wincepb42-030829-kb823253-mipsiv_fp.exe
   29-Aug-2003  19:00  4.21     703,080  Wincepb42-030829-kb823253-sh3.exe
   29-Aug-2003  19:01  4.21     703,080  Wincepb42-030829-kb823253-sh4.exe
   29-Aug-2003  19:00  4.21     690,792  Wincepb42-030829-kb823253-x86.exe
The English version of this hotfix 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\Common\Oak\Lib\Armv4\Debug
   26-Jun-2003  22:09                    292,496  Ppp2auth.lib
   26-Jun-2003  22:09                    102,400  Ppp2auth.pdb

   Path: Public\Common\Oak\Lib\Armv4\Retail
   26-Jun-2003  22:09                    214,578  Ppp2auth.lib
   26-Jun-2003  22:09                    102,400  Ppp2auth.pdb

   Path: Public\Common\Oak\Lib\Armv4i\Debug
   26-Jun-2003  22:09                    292,886  Ppp2auth.lib
   26-Jun-2003  22:09                    102,400  Ppp2auth.pdb

   Path: Public\Common\Oak\Lib\Armv4i\Retail
   26-Jun-2003  22:09                    215,150  Ppp2auth.lib
   26-Jun-2003  22:09                    102,400  Ppp2auth.pdb

   Path: Public\Common\Oak\Lib\Mipsii\Debug
   26-Jun-2003  22:09                    299,830  Ppp2auth.lib
   26-Jun-2003  22:09                    102,400  Ppp2auth.pdb

   Path: Public\Common\Oak\Lib\Mipsii\Retail
   26-Jun-2003  22:09                    221,380  Ppp2auth.lib
   26-Jun-2003  22:09                    102,400  Ppp2auth.pdb

   Path: Public\Common\Oak\Lib\Mipsii_fp\Debug
   26-Jun-2003  22:09                    299,870  Ppp2auth.lib
   26-Jun-2003  22:09                    102,400  Ppp2auth.pdb

   Path: Public\Common\Oak\Lib\Mipsii_fp\Retail
   26-Jun-2003  22:09                    221,452  Ppp2auth.lib
   26-Jun-2003  22:09                    102,400  Ppp2auth.pdb

   Path: Public\Common\Oak\Lib\Mipsiv\Debug
   26-Jun-2003  22:09                    302,522  Ppp2auth.lib
   26-Jun-2003  22:09                    102,400  Ppp2auth.pdb

   Path: Public\Common\Oak\Lib\Mipsiv\Retail
   26-Jun-2003  22:09                    222,408  Ppp2auth.lib
   26-Jun-2003  22:09                    102,400  Ppp2auth.pdb

   Path: Public\Common\Oak\Lib\Mipsiv_fp\Debug
   26-Jun-2003  22:10                    302,562  Ppp2auth.lib
   26-Jun-2003  22:10                    102,400  Ppp2auth.pdb

   Path: Public\Common\Oak\Lib\Mipsiv_fp\Retail
   26-Jun-2003  22:09                    222,480  Ppp2auth.lib
   26-Jun-2003  22:09                    102,400  Ppp2auth.pdb

   Path: Public\Common\Oak\Lib\Sh3\Debug
   26-Jun-2003  22:10                    278,044  Ppp2auth.lib
   26-Jun-2003  22:10                    102,400  Ppp2auth.pdb

   Path: Public\Common\Oak\Lib\Sh3\Retail
   26-Jun-2003  22:10                    211,106  Ppp2auth.lib
   26-Jun-2003  22:10                    102,400  Ppp2auth.pdb

   Path: Public\Common\Oak\Lib\Sh4\Debug
   26-Jun-2003  22:10                    277,868  Ppp2auth.lib
   26-Jun-2003  22:10                    102,400  Ppp2auth.pdb

   Path: Public\Common\Oak\Lib\Sh4\Retail
   26-Jun-2003  22:10                    210,882  Ppp2auth.lib
   26-Jun-2003  22:10                    102,400  Ppp2auth.pdb

   Path: Public\Common\Oak\Lib\X86\Debug
   26-Jun-2003  22:09                    269,678  Ppp2auth.lib
   26-Jun-2003  22:09                    102,400  Ppp2auth.pdb

   Path: Public\Common\Oak\Lib\X86\Retail
   26-Jun-2003  22:09                    196,444  Ppp2auth.lib
   26-Jun-2003  22:09                    102,400  Ppp2auth.pdb

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section of this article.

MORE INFORMATION

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

For additional information about a similar issue that occurs with Microsoft Windows CE Platform Builder 3.0, click the following article number to view the article in the Microsoft Knowledge Base:

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


Modification Type:MinorLast Reviewed:5/27/2005
Keywords:kbBug kbfix kbQFE KB823253 kbAudDeveloper