An extended operation that is sent to an LDAP server by API over the LDAP service causes a protocol error

Support for Windows XP has ended

Microsoft ended support for Windows XP on April 8, 2014. This change has affected your software updates and security options. Learn what this means for you and how to stay protected.

Support for Windows Server 2003 ended on July 14, 2015

Microsoft ended support for Windows Server 2003 on July 14, 2015. This change has affected your software updates and security options. Learn what this means for you and how to stay protected.

This article has been archived. It is offered "as is" and will no longer be updated.


SYMPTOMS
When you try to use an API over the Lightweight Directory Access Protocol (LDAP) service to send an extended operation to an LDAP server, the request does not complete correctly and you receive a protocol error.
CAUSE
This problem occurs because if optional data is not included in the API call, the data item is sent, but it indicates that the length is 0 (zero). Many operations require that data is not sent with the API call.
RESOLUTION

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site: Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

Windows 2000 Service Pack 3 or Service Pack 4, the original release version of Windows XP or Windows XP Service Pack 1, or the original release version of Windows Server 2003

Restart requirement

You must 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 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.

Windows 2000

   Date         Time   Version        Size       File name   ----------------------------------------------------------   28-Apr-2004  15:06  5.0.2195.6920    126,736  Adsldp.dll   28-Apr-2004  15:06  5.0.2195.6896    132,368  Adsldpc.dll   19-Jun-2003  09:05  5.0.2195.6667     62,736  Adsmsext.dll   23-Mar-2004  15:17  5.0.2195.6876    388,368  Advapi32.dll   23-Mar-2004  15:17  5.0.2195.6866     69,904  Browser.dll   23-Mar-2004  15:17  5.0.2195.6824    134,928  Dnsapi.dll   23-Mar-2004  15:17  5.0.2195.6876     92,432  Dnsrslvr.dll   23-Mar-2004  15:17  5.0.2195.6883     47,888  Eventlog.dll   23-Mar-2004  15:17  5.0.2195.6890    143,632  Kdcsvc.dll   10-Mar-2004  15:37  5.0.2195.6903    210,192  Kerberos.dll   20-Sep-2003  13:32  5.0.2195.6824     71,888  Ksecdd.sys   10-Mar-2004  15:37  5.0.2195.6902    520,976  Lsasrv.dll   25-Feb-2004  12:59  5.0.2195.6902     33,552  Lsass.exe   10-Mar-2004  15:37  5.0.2195.6897    123,152  Msv1_0.dll   23-Mar-2004  15:17  5.0.2195.6897    312,592  Netapi32.dll   23-Mar-2004  15:17  5.0.2195.6891    371,472  Netlogon.dll   23-Mar-2004  15:17  5.0.2195.6896  1,028,880  Ntdsa.dll   23-Mar-2004  15:17  5.0.2195.6897    388,368  Samsrv.dll   23-Mar-2004  15:17  5.0.2195.6893    111,376  Scecli.dll   23-Mar-2004  15:17  5.0.2195.6903    253,200  Scesrv.dll   05-Feb-2004  09:18  5.0.2195.6896  5,869,056  Sp3res.dll   23-Mar-2004  15:17  5.0.2195.6824     50,960  W32time.dll   20-Sep-2003  13:32  5.0.2195.6824     57,104  W32tm.exe   28-Apr-2004  15:06  5.0.2195.6920    127,248  Wldap32.dll

Windows XP

   Date         Time   Version        Size     File name   -------------------------------------------------------   28-Apr-2004  17:11  5.1.2600.1522  168,960  Wldap32.dll

Windows Server 2003

   Date         Time   Version       Size     File name   ------------------------------------------------------   29-Apr-2004  16:10  5.2.3790.168  161,792  Wldap32.dll
STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.
MORE INFORMATION
For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates
Properties

Article ID: 841461 - Last Review: 01/17/2015 17:52:55 - Revision: 1.9

  • Microsoft Windows Server 2003, Web Edition
  • Microsoft Windows Server 2003, Standard Edition (32-bit x86)
  • Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
  • Microsoft Windows Server 2003, Enterprise x64 Edition
  • Microsoft Windows XP Professional
  • Microsoft Windows XP Home Edition
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Professional Edition
  • kbnosurvey kbarchive kbautohotfix kbqfe kbhotfixserver kbbug kbfix kbwinserv2003presp1fix KB841461
Feedback