Tweak examples to use back-mdb

This commit is contained in:
Quanah Gibson-Mount 2017-02-02 10:43:01 -08:00
parent 451a9623f3
commit c01bbc7e3b
4 changed files with 14 additions and 14 deletions

View file

@ -45,18 +45,18 @@ original design called for auto-renaming of config entries when you insert or
delete entries with ordered names, but that was not implemented in 2.3. It is
now in 2.4. This means, e.g., if you have
> olcDatabase={1}bdb,cn=config
> olcDatabase={1}mdb,cn=config
> olcSuffix: dc=example,dc=com
and you want to add a new subordinate, now you can ldapadd:
> olcDatabase={1}bdb,cn=config
> olcDatabase={1}mdb,cn=config
> olcSuffix: dc=foo,dc=example,dc=com
This will insert a new BDB database in slot 1 and bump all following databases
down one, so the original BDB database will now be named:
This will insert a new back-mdb database in slot 1 and bump all following databases
down one, so the original back-mdb database will now be named:
> olcDatabase={2}bdb,cn=config
> olcDatabase={2}mdb,cn=config
> olcSuffix: dc=example,dc=com
H3: Better {{B:cn=schema}} functionality

View file

@ -182,7 +182,7 @@ H3: Audit Logging Configuration
If the directory is running vi {{F:slapd.d}}, then the following LDIF could be used to add the overlay to the overlay list
in {{B:cn=config}} and set what file the {{TERM:LDIF}} gets logged to (adjust to suit)
> dn: olcOverlay=auditlog,olcDatabase={1}hdb,cn=config
> dn: olcOverlay=auditlog,olcDatabase={1}mdb,cn=config
> changetype: add
> objectClass: olcOverlayConfig
> objectClass: olcAuditLogConfig
@ -369,7 +369,7 @@ title attribute of any {{titleCatalog}} entries in the given scope.
An example for use with {{cn=config}}:
> dn: olcOverlay=constraint,olcDatabase={1}hdb,cn=config
> dn: olcOverlay=constraint,olcDatabase={1}mdb,cn=config
> changetype: add
> objectClass: olcOverlayConfig
> objectClass: olcConstraintConfig
@ -809,10 +809,10 @@ at server {{EX:ldap.example.com}}.
> olcPcacheTemplate: "(&(sn=)(givenName=))" 0 3600 0 0 0
> olcPcacheTemplate: "(&(departmentNumber=)(secretary=))" 0 3600
>
> dn: olcDatabase={0}hdb,olcOverlay={0}pcache,olcDatabase={2}ldap,cn=config
> objectClass: olcHdbConfig
> dn: olcDatabase={0}mdb,olcOverlay={0}pcache,olcDatabase={2}ldap,cn=config
> objectClass: olcMdbConfig
> objectClass: olcPcacheDatabase
> olcDatabase: {0}hdb
> olcDatabase: {0}mdb
> olcDbDirectory: ./testrun/db.2.a
> olcDbCacheSize: 20
> olcDbIndex: objectClass eq

View file

@ -1733,14 +1733,14 @@ when using the \fIsyncprov\fP overlay, which needs to follow \fIglue\fP
in order to work over all of the glued databases. E.g.
.RS
.nf
dn: olcDatabase={1}bdb,cn=config
dn: olcDatabase={1}mdb,cn=config
olcSuffix: dc=example,dc=com
...
dn: olcOverlay={0}glue,olcDatabase={1}bdb,cn=config
dn: olcOverlay={0}glue,olcDatabase={1}mdb,cn=config
...
dn: olcOverlay={1}syncprov,olcDatabase={1}bdb,cn=config
dn: olcOverlay={1}syncprov,olcDatabase={1}mdb,cn=config
...
.fi
.RE

View file

@ -38,7 +38,7 @@ The following LDIF could be used to add this overlay to
.LP
.RS
.nf
dn: olcOverlay=auditlog,olcDatabase={1}hdb,cn=config
dn: olcOverlay=auditlog,olcDatabase={1}mdb,cn=config
changetype: add
objectClass: olcOverlayConfig
objectClass: olcAuditLogConfig