Add maxsize parameter for mdb examples

This commit is contained in:
Quanah Gibson-Mount 2013-09-19 15:03:53 -07:00
parent 4eecd27729
commit a672161ab7
4 changed files with 14 additions and 8 deletions

View File

@ -138,7 +138,8 @@ whatever installation prefix was used by {{EX:configure}}).
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}}
@ -148,7 +149,8 @@ to contain a BDB database definition of the form:
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}}
@ -157,7 +159,8 @@ example, for {{EX:example.com}}, use:
.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}}

View File

@ -226,7 +226,7 @@ in the replication context.
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
@ -545,7 +545,8 @@ the performance of the session log on the provider.
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
@ -563,7 +564,8 @@ The syncrepl replication is specified in the database section of
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

View File

@ -534,8 +534,8 @@ conforms to the obsolete {{changelog}} format. If the {{EX:syncdata}}
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.

View File

@ -50,6 +50,7 @@ argsfile %LOCALSTATEDIR%/run/slapd.args
#######################################################################
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