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

Re: ldapsearch limit of 500 entries



Hi,

On Thu, 12 Dec 2013, Howard Chu wrote:
Clint Petty wrote:
Thanks Jason,

I resolved this issue by adding:

olcSizeLimit: -1

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.

might be a good time to start enforcing the checksum in the back-ldif files as the
inline comment does not seem to help ....

    head -2 ~ldap/slapd.d/cn\=config.ldif
    # AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
    # CRC32 99e8a9c7

Looking at the back-ldif source code the checksum is only enforced when LDAP_DEBUG
is defined.

Greetings
Christian

--
Christian Kratzer                      CK Software GmbH
Email:   ck@cksoft.de                  Wildberger Weg 24/2
Phone:   +49 7032 893 997 - 0          D-71126 Gaeufelden
Fax:     +49 7032 893 997 - 9          HRB 245288, Amtsgericht Stuttgart
Web:     http://www.cksoft.de/         Geschaeftsfuehrer: Christian Kratzer