[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: Size Limits



Thanks Dieter,

That seems to work fine thanks. Is there any way that I can make it not
prompt me for the next batch? 

Thanks,
Ian


-----Original Message-----
From: owner-openldap-software@OpenLDAP.org
[mailto:owner-openldap-software@OpenLDAP.org] On Behalf Of Dieter Kluenter
Sent: 17 January 2005 16:40
To: openldap-software@OpenLDAP.org
Subject: Re: Size Limits

"Ian Barnes" <ian@rkki.co.za> writes:

> Hi,
>
> I am trying to get a list of about 28,000 usernames back from an AD
Server.
> I am running OpenLDAP 2.2 and I cant get past 1000 returned entries. I
have
> manually specified -z 0 but still it stops at 1000. The owners of the AD
> Server say that there must be some way that I can use "page stepping" to
> return the total list. Can I do this? I am using ldapsearch to connect and
> then PHP to parse the returned entries.

Depending on the OpenLDAP version you may initiate the extended
operation paged results, that is ldapsearch -Epr=500 which will show
you all entries in a sequence of 500

-Dieter

-- 
Dieter Klünter | Systemberatung
http://www.dkluenter.de
GPG Key ID:01443B53