Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
orbea -
OpenLDAP
Commits
c01bbc7e
Commit
c01bbc7e
authored
Feb 02, 2017
by
Quanah Gibson-Mount
Browse files
Tweak examples to use back-mdb
parent
451a9623
Changes
4
Hide whitespace changes
Inline
Side-by-side
doc/guide/admin/appendix-changes.sdf
View file @
c01bbc7e
...
...
@@ -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}
b
db,cn=config
> olcDatabase={1}
m
db,cn=config
> olcSuffix: dc=example,dc=com
and you want to add a new subordinate, now you can ldapadd:
> olcDatabase={1}
b
db,cn=config
> olcDatabase={1}
m
db,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}
b
db,cn=config
> olcDatabase={2}
m
db,cn=config
> olcSuffix: dc=example,dc=com
H3: Better {{B:cn=schema}} functionality
...
...
doc/guide/admin/overlays.sdf
View file @
c01bbc7e
...
...
@@ -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}
h
db,cn=config
> dn: olcOverlay=auditlog,olcDatabase={1}
m
db,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}
h
db,cn=config
> dn: olcOverlay=constraint,olcDatabase={1}
m
db,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}
h
db,olcOverlay={0}pcache,olcDatabase={2}ldap,cn=config
> objectClass: olc
H
dbConfig
> dn: olcDatabase={0}
m
db,olcOverlay={0}pcache,olcDatabase={2}ldap,cn=config
> objectClass: olc
M
dbConfig
> objectClass: olcPcacheDatabase
> olcDatabase: {0}
h
db
> olcDatabase: {0}
m
db
> olcDbDirectory: ./testrun/db.2.a
> olcDbCacheSize: 20
> olcDbIndex: objectClass eq
...
...
doc/man/man5/slapd-config.5
View file @
c01bbc7e
...
...
@@ -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}
b
db,cn=config
dn: olcDatabase={1}
m
db,cn=config
olcSuffix: dc=example,dc=com
...
dn: olcOverlay={0}glue,olcDatabase={1}
b
db,cn=config
dn: olcOverlay={0}glue,olcDatabase={1}
m
db,cn=config
...
dn: olcOverlay={1}syncprov,olcDatabase={1}
b
db,cn=config
dn: olcOverlay={1}syncprov,olcDatabase={1}
m
db,cn=config
...
.fi
.RE
...
...
doc/man/man5/slapo-auditlog.5
View file @
c01bbc7e
...
...
@@ -38,7 +38,7 @@ The following LDIF could be used to add this overlay to
.LP
.RS
.nf
dn: olcOverlay=auditlog,olcDatabase={1}
h
db,cn=config
dn: olcOverlay=auditlog,olcDatabase={1}
m
db,cn=config
changetype: add
objectClass: olcOverlayConfig
objectClass: olcAuditLogConfig
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment