You receive a "The size limit for this request was exceeded" error message when you perform a LDAP query on a Windows 2000-based computer (327049)



The information in this article applies to:

  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional

This article was previously published under Q327049

SYMPTOMS

When you perform a Lightweight Directory Access Protocol (LDAP) query that returns a set of results on a Microsoft Windows 2000-based computer, the ldap_search_ext_s() function may return the following error message:
The size limit for this request was exceeded.

CAUSE

This problem may occur if the maximum page size that is supported for LDAP responses is exceeded.

RESOLUTION

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Windows 2000 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question. 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   Version            Size    File name
   --------------------------------------------------------------
   27-Sep-2002  23:27  5.0.2195.5995     182,544  Activeds.dll     
   27-Sep-2002  23:27  5.0.2195.6069     124,176  Adsldp.dll       
   27-Sep-2002  23:27  5.0.2195.5781     131,344  Adsldpc.dll      
   27-Sep-2002  23:27  5.0.2195.5781      62,736  Adsmsext.dll     
   27-Sep-2002  23:27  5.0.2195.6052     358,160  Advapi32.dll     
   27-Sep-2002  23:27  5.0.2195.6058      49,424  Browser.dll      
   27-Sep-2002  23:27  5.0.2195.6012     135,952  Dnsapi.dll       
   27-Sep-2002  23:27  5.0.2195.6012      96,016  Dnsrslvr.dll     
   27-Sep-2002  23:27  5.0.2195.5722      45,328  Eventlog.dll     
   27-Sep-2002  23:27  5.0.2195.6059     146,704  Kdcsvc.dll       
   06-Sep-2002  01:18  5.0.2195.6048     200,976  Kerberos.dll     
   21-Aug-2002  16:27  5.0.2195.6023      71,248  Ksecdd.sys
   26-Sep-2002  02:01  5.0.2195.6072     507,664  Lsasrv.dll       
   26-Sep-2002  02:01  5.0.2195.6072      33,552  Lsass.exe        
   27-Aug-2002  22:53  5.0.2195.6034     108,816  Msv1_0.dll       
   27-Sep-2002  23:27  5.0.2195.5979     307,472  Netapi32.dll     
   27-Sep-2002  23:27  5.0.2195.5966     360,720  Netlogon.dll     
   27-Sep-2002  23:27  5.0.2195.6048     918,800  Ntdsa.dll        
   27-Sep-2002  23:27  5.0.2195.6025     389,392  Samsrv.dll       
   27-Sep-2002  23:27  5.0.2195.5951     129,296  Scecli.dll       
   27-Sep-2002  23:27  5.0.2195.5951     302,864  Scesrv.dll       
   10-Sep-2002  15:50  5.0.2195.6053     123,392  Sp3res.dll       
   13-Jun-2001  05:05  5.0.2195.3727       3,856  Svcpack1.dll     
   27-Sep-2002  23:27  5.0.2195.5859      48,912  W32time.dll      
   04-Jun-2002  21:32  5.0.2195.5859      57,104  W32tm.exe        
   27-Sep-2002  23:27  5.0.2195.6052     126,224  Wldap32.dll      
   26-Sep-2002  02:01  5.0.2195.6072     507,664  Lsasrv.dll       
	

STATUS

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

MORE INFORMATION

For additional information about how to obtain a hotfix for Windows 2000 Datacenter Server, click the following article number to view the article in the Microsoft Knowledge Base:

265173 The Datacenter Program and Windows 2000 Datacenter Server product


Modification Type:MinorLast Reviewed:10/10/2005
Keywords:kbHotfixServer kbQFE kbQFE kbbug kbfix KB327049 kbAudITPRO