[Date Prev][Date Next]
Re: Size Limits
"Ian Barnes" <firstname.lastname@example.org> writes:
> 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 Klünter | Systemberatung
GPG Key ID:01443B53