--On Friday, February 28, 2025 4:03 PM +0000 Howard Chu hyc@symas.com wrote:
Windl, Ulrich wrote:
Migrating to OpenLDAP 2.5 and MDB I hit the default 10MB limit (when trying to import a 6.8MB LDIF).
Seeking how to extend the size online, I found:
*maxsize*/ <bytes>/ https://manpages.debian.org/testing/slapd/slapd-mdb.5.en.html#maxsize
Specify the maximum size of the database in bytes. A memory map of this size is allocated at startup time and the database will not be allowed to grow beyond this size. The default is 10485760 bytes. This setting may be changed upward if the configured limit needs to be increased.
However it's completely non-obvious that the name for cn=config is "olcDbMaxSize" (and not "olcMaxssize").
The schema is self-documenting. Just read the olcMdbConfig objectclass and the descriptions of all of its attributes.
e.g. `ldapsearch -H ldap://xxx -b cn=schema,cn=config -s base`
I would add that *database specific* configuration options are prefixed with olcDb.. because they are DB specific and not general.
--Quanah