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

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