FIX: Host Names That Are Sent in Dynamic Host Configuration Protocol (DHCP) Are Limited to 16 Characters (820920)



The information in this article applies to:

  • Microsoft Windows CE .NET 4.2

SYMPTOMS

Devices whose machine names are longer than 16 characters will appear on other servers with the name truncated to only 16 characters. The other servers where the name is truncated are dynamic host configuration protocol (DHCP) server administration servers and DHCP-controlled DNS servers.

CAUSE

The Windows CE DHCP client sends the host name to the DHCP server in DHCP network packets. The client uses the local machine name and truncates the name to 16 characters.

RESOLUTION

Hotfix Information

A supported software update is now available from Microsoft as Windows CE Platform Builder 4.2 Core OS QFE 030613_KB820920. 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 related updates for this version of the Windows CE operating system.

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
   --------------------------------------------------------------
   13-Jun-2003  00:44  4.2.3.613     731,752  Wincepb42-030613-kb820920-armv4.exe  
   13-Jun-2003  00:44  4.2.3.613     731,752  Wincepb42-030613-kb820920-armv4i.exe
   13-Jun-2003  00:44  4.2.3.613     739,944  Wincepb42-030613-kb820920-mipsii.exe  
   13-Jun-2003  00:44  4.2.3.613     739,944  Wincepb42-030613-kb820920-mipsii_fp.exe  
   13-Jun-2003  00:44  4.2.3.613     744,040  Wincepb42-030613-kb820920-mipsiv.exe  
   13-Jun-2003  00:44  4.2.3.613     744,040  Wincepb42-030613-kb820920-mipsiv_fp.exe  
   13-Jun-2003  00:44  4.2.3.613     723,560  Wincepb42-030613-kb820920-sh3.exe
   13-Jun-2003  00:44  4.2.3.613     723,560  Wincepb42-030613-kb820920-sh4.exe
   13-Jun-2003  00:44  4.2.3.613     711,272  Wincepb42-030613-kb820920-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\Common\Oak\Lib\Armv4\Debug
   14-May-2003  22:01                    314,422  Dhcp.lib
   14-May-2003  22:01                    102,400  Dhcp.pdb

   Path: Public\Common\Oak\Lib\Armv4\Retail
   14-May-2003  21:50                    175,556  Dhcp.lib
   14-May-2003  21:50                    102,400  Dhcp.pdb

   Path: Public\Common\Oak\Lib\Armv4i\Debug
   14-May-2003  22:24                    314,726  Dhcp.lib
   14-May-2003  22:24                    102,400  Dhcp.pdb

   Path: Public\Common\Oak\Lib\Armv4i\Retail
   14-May-2003  22:12                    175,898  Dhcp.lib
   14-May-2003  22:12                    102,400  Dhcp.pdb

   Path: Public\Common\Oak\Lib\Mipsii\Debug
   14-May-2003  22:46                    323,256  Dhcp.lib
   14-May-2003  22:46                    102,400  Dhcp.pdb

   Path: Public\Common\Oak\Lib\Mipsii\Retail
   14-May-2003  22:35                    181,482  Dhcp.lib
   14-May-2003  22:35                    102,400  Dhcp.pdb

   Path: Public\Common\Oak\Lib\Mipsii_fp\Debug
   14-May-2003  23:08                    323,280  Dhcp.lib
   14-May-2003  23:08                    102,400  Dhcp.pdb

   Path: Public\Common\Oak\Lib\Mipsii_fp\Retail
   14-May-2003  22:57                    181,522  Dhcp.lib
   14-May-2003  22:57                    102,400  Dhcp.pdb

   Path: Public\Common\Oak\Lib\Mipsiv\Debug
   14-May-2003  23:31                    326,526  Dhcp.lib
   14-May-2003  23:31                    102,400  Dhcp.pdb

   Path: Public\Common\Oak\Lib\Mipsiv\Retail
   14-May-2003  23:20                    183,660  Dhcp.lib
   14-May-2003  23:20                    102,400  Dhcp.pdb

   Path: Public\Common\Oak\Lib\Mipsiv_fp\Debug
   14-May-2003  23:53                    326,554  Dhcp.lib
   14-May-2003  23:53                    102,400  Dhcp.pdb

   Path: Public\Common\Oak\Lib\Mipsiv_fp\Retail
   14-May-2003  23:42                    183,700  Dhcp.lib
   14-May-2003  23:42                    102,400  Dhcp.pdb

   Path: Public\Common\Oak\Lib\Sh3\Debug
   15-May-2003  00:16                    288,014  Dhcp.lib
   15-May-2003  00:16                    102,400  Dhcp.pdb

   Path: Public\Common\Oak\Lib\Sh3\Retail
   15-May-2003  00:05                    166,180  Dhcp.lib
   15-May-2003  00:05                    102,400  Dhcp.pdb

   Path: Public\Common\Oak\Lib\Sh4\Debug
   15-May-2003  00:39                    287,916  Dhcp.lib
   15-May-2003  00:39                    102,400  Dhcp.pdb

   Path: Public\Common\Oak\Lib\Sh4\Retail
   15-May-2003  00:27                    165,900  Dhcp.lib
   15-May-2003  00:27                    102,400  Dhcp.pdb

   Path: Public\Common\Oak\Lib\X86\Debug
   14-May-2003  21:39                    286,672  Dhcp.lib
   14-May-2003  21:39                    102,400  Dhcp.pdb

   Path: Public\Common\Oak\Lib\X86\Retail
   14-May-2003  21:28                    154,868  Dhcp.lib
   14-May-2003  21:28                    102,400  Dhcp.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 enables host names of up to 255 characters if the host name is set in the DhcpSendOptions registry key. If the host name is not specified in this registry key, the local machine name is used and is still limited to 16 characters.

For more information about the DhcpSendOptions registry settings, see the Windows CE .NET Platform Builder help documentation.

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