You can get a "size limit" error due to either server or client size
constraints that were exceeded.  In your case, you've set the max entries to
return to 5.  All that error is telling you is that there were more than 5
matches found.  This is necessary to allow the client to distinguish between
a search that returns all matching results and a search that only returns a
subset.

Robbie Allen
http://www.rallenhome.com/

> -----Original Message-----
> From: Patrick Gelin [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, October 29, 2003 2:40 AM
> To: [EMAIL PROTECTED]
> Subject: [ActiveDir] About SIZELIMIT_EXCEEDED
> 
> 
> Hi,
> 
> I'm integrating an open-source application using openldap with Active
> directory. I know openldap doesn't support pagination with 
> RFC2696, So I
> can't manage more than 1000 result but it's enought. My 
> problem is that
> I failed to avoid the message SIZELIMIT_EXEEDED even if the openldap
> client limit itself the request size result to only 5... 
> 
> 
> ldapsearch -W -x -z 5 -b "dc=rpn,dc=ch" -D "cn=Utilisateur
> LDAP,cn=Users,dc=rpn,dc=ch" -h #####.###.## -p 3268
> 
> # PC-A, Ordinateurs, rpn.ch
> dn: OU=PC-A,OU=Ordinateurs,DC=rpn,DC=ch
> description: PC Administratifs
> dSCorePropagationData: 20030130154242.0Z
> dSCorePropagationData: 20030130145847.0Z
> dSCorePropagationData: 20020920130143.0Z
> dSCorePropagationData: 20020723160040.0Z
> dSCorePropagationData: 16010714223649.0Z
> gPLink:
> [LDAP://CN={A8AA7B09-6230-4E5A-8753-6A0EBEB1B05D},CN=Policies,CN=Syste
>  m,DC=rpn,DC=ch;0]
> instanceType: 4
> distinguishedName: OU=PC-A,OU=Ordinateurs,DC=rpn,DC=ch
> objectCategory:
> CN=Organizational-Unit,CN=Schema,CN=Configuration,DC=rpn,DC=ch
> objectClass: top
> objectClass: organizationalUnit
> objectGUID:: fOfmDrou40aaJAhJXFTYxA==
> ou: PC-A
> name: PC-A
> uSNChanged: 3978665
> uSNCreated: 64825
> whenChanged: 20030916115727.0Z
> whenCreated: 20020628141248.0Z
>  
> # search result
> search: 2
> result: 4 Size limit exceeded  <= I've got what I want so why 
> this error
> message!!!!
>  
> # numResponses: 6
> # numEntries: 5
> 
> 
> Thanks.
> -- 
> Patrick Gelin
> Office de la Statistique et de l'Informatique Scolaire
> CH-2300 La Chaux-de-Fonds
> Canton de Neuchâtel (Suisse)
> Tél. +41 (0)32 919 79 23
> Email: [EMAIL PROTECTED]
> 
> List info   : http://www.activedir.org/mail_list.htm
> List FAQ    : http://www.activedir.org/list_faq.htm
> List archive: 
> http://www.mail-archive.com/activedir%> 40mail.activedir.org/
> 
List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

Reply via email to