The LDAP configuration file

LDBM backend-specific options

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
cachesize integer
This option specifies the size in entries of the in-memory cache maintained by the LDBM backend database instance.

Default: cachesize 1000

dbcachesize
dbcachesize integer
This 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
directory directory
This option specifies the directory where the LDBM files containing the database and associated indexes live.

Default: directory /usr/spool/ldap

index
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   none
This 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
min_maxids integer
This 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
mode integer
This option specifies the file protection mode that newly created database index files should have.

Default: mode 0600


© 1999 The Santa Cruz Operation, Inc. All rights reserved.
UnixWare 7 Release 7.1.1 - 5 November 1999