example (usually installed as {{F:/usr/local/etc/openldap/slapd.conf}})
to contain a BDB database definition of the form:
-..{{EX:database bdb}}
+..{{EX:database mdb}}
+..{{EX:maxsize 1073741824}}
..{{EX:suffix "dc=<MY-DOMAIN>,dc=<COM>"}}
..{{EX:rootdn "cn=Manager,dc=<MY-DOMAIN>,dc=<COM>"}}
..{{EX:rootpw secret}}
the appropriate domain components of your domain name. For
example, for {{EX:example.com}}, use:
-..{{EX:database bdb}}
+..{{EX:database mdb}}
+..{{EX:maxsize 1073741824}}
..{{EX:suffix "dc=example,dc=com"}}
..{{EX:rootdn "cn=Manager,dc=example,dc=com"}}
..{{EX:rootpw secret}}
.If your domain contains additional components, such as
{{EX:eng.uni.edu.eu}}, use:
-..{{EX:database bdb}}
+..{{EX:database mdb}}
+..{{EX:maxsize 1073741824}}
..{{EX:suffix "dc=eng,dc=uni,dc=edu,dc=eu"}}
..{{EX:rootdn "cn=Manager,dc=eng,dc=uni,dc=edu,dc=eu"}}
..{{EX:rootpw secret}}
The syncrepl engine, which is a consumer-side replication engine,
can work with any backends. The LDAP Sync provider can be configured
as an overlay on any backend, but works best with the {{back-bdb}}
-or {{back-hdb}} backend.
+{{back-hdb}}, or {{back-mdb}} backends.
The LDAP Sync provider maintains a {{EX:contextCSN}} for each
database as the current synchronization state indicator of the
A more complete example of the {{slapd.conf}}(5) content is thus:
-> database bdb
+> database mdb
+> maxsize 1073741824
> suffix dc=Example,dc=com
> rootdn dc=Example,dc=com
> directory /var/ldap/db
is backend independent and the directive can be defined with any
database type.
-> database hdb
+> database mdb
+> maxsize 1073741824
> suffix dc=Example,dc=com
> rootdn dc=Example,dc=com
> directory /var/ldap/db
parameter is omitted or set to {{EX:"default"}} then the log
parameters are ignored.
-The {{syncrepl}} replication mechanism is supported by the {{bdb}} and
-{{hdb}} backends.
+The {{syncrepl}} replication mechanism is supported by the {{bdb}},
+{{hdb}}, and {{mdb}} backends.
See the {{SECT:LDAP Sync Replication}} chapter of this guide for
more information on how to use this directive.
#######################################################################
database mdb
+maxsize 1073741824
suffix "dc=my-domain,dc=com"
rootdn "cn=Manager,dc=my-domain,dc=com"
# Cleartext passwords, especially for the rootdn, should