From bf6db8a78b73126be3a3693c82ac4d43c489e289 Mon Sep 17 00:00:00 2001 From: Quanah Gibson-Mount Date: Thu, 19 Sep 2013 15:03:53 -0700 Subject: [PATCH] Add maxsize parameter for mdb examples --- doc/guide/admin/quickstart.sdf | 9 ++++++--- doc/guide/admin/replication.sdf | 8 +++++--- doc/guide/admin/slapdconfig.sdf | 4 ++-- servers/slapd/slapd.conf | 1 + 4 files changed, 14 insertions(+), 8 deletions(-) diff --git a/doc/guide/admin/quickstart.sdf b/doc/guide/admin/quickstart.sdf index c3b27157bb..225e07114b 100644 --- a/doc/guide/admin/quickstart.sdf +++ b/doc/guide/admin/quickstart.sdf @@ -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=,dc="}} ..{{EX:rootdn "cn=Manager,dc=,dc="}} ..{{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}} diff --git a/doc/guide/admin/replication.sdf b/doc/guide/admin/replication.sdf index 58f2abe472..54dabc01be 100644 --- a/doc/guide/admin/replication.sdf +++ b/doc/guide/admin/replication.sdf @@ -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 diff --git a/doc/guide/admin/slapdconfig.sdf b/doc/guide/admin/slapdconfig.sdf index 4e103d94cf..4fc7bcc911 100644 --- a/doc/guide/admin/slapdconfig.sdf +++ b/doc/guide/admin/slapdconfig.sdf @@ -532,8 +532,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. diff --git a/servers/slapd/slapd.conf b/servers/slapd/slapd.conf index 20e8a84f8a..352c501454 100644 --- a/servers/slapd/slapd.conf +++ b/servers/slapd/slapd.conf @@ -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 -- 2.39.2