Christian Kratzer wrote:
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 ....
One step at a time. Expect this to be enforced in 2.5.
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
--
-- Howard Chu
CTO, Symas Corp.
http://www.symas.com
Director, Highland Sun
http://highlandsun.com/hyc/
Chief Architect, OpenLDAP
http://www.openldap.org/project/