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

Re: ldapsearch limit of 500 returned entries



The server has the last word on what the sizelimit is.  The client can only
specifiy an equal or smaller size limit than the server.  So you _must_ set
your:

 SIZELIMIT    0

in ldap.conf or to something larger than 500, before you can force the
client to show you more than 500.

You must restart your openldap server after changing SIZELIMIT in ldap.conf.
You can probably use:

service ldap restart

or find the PID and kill -HUP it.

Fox

----- Original Message -----
From: "charlie derr" <cderr@simons-rock.edu>
To: <openldap-software@OpenLDAP.org>
Sent: Tuesday, June 04, 2002 2:10 PM
Subject: ldapsearch limit of 500 returned entries


> I've looked in my ldap.conf and also in my slapd.conf, but i'm not
> finding where this is set.  The following from the ldapsearch manpage:
>
>       -z sizelimit
> retrieve at most sizelimit entries for a search.  A
> sizelimit  of  0  (zero) removes the ldap.conf limit.
> A server may impose a maximal sizelimit which
> only the root user may override.
>
>
> seems to indicate that i should be able to override, but
> even when i use "-z 0" as root user on the machine that the
> database lives on and bind as cn=admin, my output is 500 entries
> followed by:
>
> # search result
> search: 2
> result: 4 Size limit exceeded
>
> # numResponses: 501
> # numEntries: 500
>
>
>
> Do i have to recompile my slapd to get past this?  Or is there a
> setting in a conf (or other) file somewhere that i can modify to
> eliminate this error? 2.0.23
>
>
> thanx so much in advance,
> ~c