I know you are suppose to make changes through the command line, when using cn=config. I
tried changing it through ldapmodify, however wasn't able to get it to work. So
changed it in the file and it did work. We are transitioning away from cn=config, so this
is just a short term solution.
From: Howard Chu [mailto:firstname.lastname@example.org]
Sent: Thursday, December 12, 2013 7:15 PM
To: Clint Petty; Jason Brandt
Subject: Re: ldapsearch limit of 500 entries
Clint Petty wrote:
I resolved this issue by adding:
to the etc/ldap/slapd.d/cn=config.ldif file.
You are not supposed to manually edit the config database files. You should
have fed your change in to the running slapd using ldapmodify.
cn=config is a slapd database. It will very likely migrate to an LMDB backend
in the future. Don't get the notion of manually editing it into your head,
because it won't be possible.
and then restarting slapd.
There is no need to restart slapd to make configuration changes, if you do
them correctly - i.e., using ldapmodify.
*From:*Jason Brandt [mailto:email@example.com]
*Sent:* Thursday, December 12, 2013 11:25 AM
*To:* Clint Petty
*Subject:* Re: ldapsearch limit of 500 entries
Note that this will replace any existing limits you have set.
On Thu, Dec 12, 2013 at 1:24 PM, Jason Brandt <jbrandt(a)fsmail.bradley.edu
Global size limit modification ldif file (using cn=config):
olcSizeLimit: size.soft=100 size.hard=500
Per user size limit changes:
olcLimits: dn.exact="uid=user,ou=people,dc=example,dc=com" size=unlimited
On Thu, Dec 12, 2013 at 1:16 PM, Clint Petty <cpetty(a)luthresearch.com
My ldapsearch command is only returning a max of 500 entries, while I know I
have over 9,000 entries in the database. If I do not have a slapd.conf file,
how can I increase the sizelimit, to display all my entries?
Jason K. Brandt
(309) 677-2958 <tel:%28309%29%20677-2958>
Jason K. Brandt
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/