Options in this category only apply to the LDBM backend database. That is, they must follow a database ldbm line and come before any other database line.
cachesize integerThis option specifies the size in entries of the in-memory cache maintained by the LDBM backend database instance.
Default: cachesize 1000
dbcachesize integerThis option specifies the size in bytes of the in-memory cache associated with each open index file. If not supported by the underlying database method, this option is ignored without comment. Increasing this number uses more memory but can cause a dramatic performance increase, especially during modifies or when building indexes.
Default: dbcachesize 100000
directory directoryThis option specifies the directory where the LDBM files containing the database and associated indexes live.
Default: directory /usr/spool/ldap
index { attrlist | default } [pres, eq, approx, sub, none]
This option specifies the indexes to maintain for the given attribute. If
only an attrlist is given, all possible indexes are maintained.
For example:
index cn index sn,uid eq,sub,approx index default noneThis example causes all indexes to be maintained for the cn attribute; equality, substring, and approximate indexes for the sn and uid attributes; and no indexes for all other attributes.
min_maxids integerThis option is relevant only to the LDBM backend, for which it specifies the minimum number of entry IDs that an index entry will contain before it becomes an AllIDs entry (see ``The allIDs threshold'' for details).
Default: min_maxids 4000
mode integerThis option specifies the file protection mode that newly created database index files should have.
Default: mode 0600