1SLAPD-LDBM(5)                 File Formats Manual                SLAPD-LDBM(5)
2
3
4

NAME

6       slapd-ldbm - LDBM backend to slapd
7

SYNOPSIS

9       /etc/openldap/slapd.conf
10

DESCRIPTION

12       The LDBM backend to slapd(8) is an easy-to-configure but obsolete data‐
13       base backend.  It does not offer the data durability  features  of  the
14       BDB  and  HDB  backends  and hence is considered deprecated in favor of
15       these robust backends.  LDBM uses  lightweight  non-transactional  data
16       interfaces,  such  as  those  provided by GDBM or Berkeley DB, to store
17       data.  It makes extensive use of indexing and  caching  to  speed  data
18       access.
19

CONFIGURATION

21       These  slapd.conf options apply to the LDBM backend database.  That is,
22       they must follow a "database ldbm" line and come before any  subsequent
23       "backend" or "database" lines.  Other database options are described in
24       the slapd.conf(5) manual page.
25
26       cachesize <integer>
27              Specify the size in entries of the in-memory cache maintained by
28              the  LDBM  backend  database  instance.   The  default  is  1000
29              entries.
30
31       dbcachesize <integer>
32              Specify the size in bytes of the in-memory cache associated with
33              each  open index file.  If not supported by the underlying data‐
34              base method,  this  option  is  ignored  without  comment.   The
35              default is 100000 bytes.
36
37       dbnolocking
38              Specify  that no database locking should be performed.  Enabling
39              this option may improve performance at the expense of data secu‐
40              rity.  Do NOT run any slap tools while slapd is running.
41
42       dbnosync
43              Specify that on-disk database contents should not be immediately
44              synchronized with in memory changes.  Enabling this  option  may
45              improve performance at the expense of data security.
46
47       dbsync <frequency> <maxdelays> <delayinterval>
48              Flush  dirty  database  buffers to disk every <seconds> seconds.
49              Implies dbnosync (ie. individual updates are no  longer  written
50              to  disk).   It  attempts  to avoid syncs during periods of peak
51              activity by waiting <delayinterval> seconds  if  the  server  is
52              busy,  repeating  this delay up to <maxdelays> times before pro‐
53              ceeding.  It is an attempt to provide higher  write  performance
54              with  some  amount  of data security.  Note that it may still be
55              possible to get  an  inconsistent  database  if  the  underlying
56              engine fills its cache and writes out individual pages and slapd
57              crashes or is killed before  the  next  sync.   <maxdelays>  and
58              <delayinterval>  are  optional  and  default to 12 and 5 respec‐
59              tively, giving a total elapsed delay of 60 seconds before a sync
60              will  occur.   <maxdelays> may be zero, and <delayinterval> must
61              be 1 or greater.
62
63       directory <directory>
64              Specify the directory where the LDBM files containing this data‐
65              base  and associated indexes live.  A separate directory must be
66              specified for each database.  The default is /var/openldap-data.
67
68       index {<attrlist>|default} [pres,eq,approx,sub,<special>]
69              Specify the indexes to maintain for the given attribute (or list
70              of  attributes).   Some  attributes  only  support  a  subset of
71              indexes.  If only an <attr> is given, the indices specified  for
72              default  are  maintained.   Note that setting a default does not
73              imply that all attributes will be indexed. Also, for  best  per‐
74              formance,  an  eq  index  should  always  be  configured for the
75              objectClass attribute.
76
77              A number of special index  parameters  may  be  specified.   The
78              index  type  sub  can be decomposed into subinitial, subany, and
79              subfinal indices.  The special type notags (or  nolang)  may  be
80              specified to disallow use of this index by subtypes with tagging
81              options (such as language options).  The special type nosubtypes
82              may  be  specified  to  disallow use of this index by named sub‐
83              types.   Note:  changing  index  settings  requires   rebuilding
84              indices, see slapindex(8).
85
86       mode <integer>
87              Specify  the  file  protection  mode that newly created database
88              index files should have.  The default is 0600.
89

ACCESS CONTROL

91       The ldbm backend  honors  access  control  semantics  as  indicated  in
92       slapd.access(5).
93

FILES

95       /etc/openldap/slapd.conf
96              default slapd configuration file
97

SEE ALSO

99       slapd.conf(5), slapd(8), slapadd(8), slapcat(8), slapindex(8).
100
101
102
103OpenLDAP 2.3.34                    2007/2/16                     SLAPD-LDBM(5)
Impressum