[Date Prev][Date Next]
Re: Size Limits
"Ian Barnes" <email@example.com> writes:
> Thanks Dieter,
> That seems to work fine thanks. Is there any way that I can make it not
> prompt me for the next batch?
AFAIK not with ldapsearch, as this is only a simple tool for proof of
concept and function.
But you may write your own shell script or expect which will do this.
> "Ian Barnes" <firstname.lastname@example.org> writes:
>> I am trying to get a list of about 28,000 usernames back from an AD
>> I am running OpenLDAP 2.2 and I cant get past 1000 returned entries. I
>> 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 Klünter | Systemberatung
GPG Key ID:01443B53