Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dragoș Haiduc
OpenLDAP
Commits
32aa75bf
Commit
32aa75bf
authored
19 years ago
by
Howard Chu
Browse files
Options
Downloads
Patches
Plain Diff
More tweaks for BDB
parent
544c766f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/guide/admin/slapdconf2.sdf
+32
-12
32 additions, 12 deletions
doc/guide/admin/slapdconf2.sdf
with
32 additions
and
12 deletions
doc/guide/admin/slapdconf2.sdf
+
32
−
12
View file @
32aa75bf
...
...
@@ -89,9 +89,9 @@ The general layout of the config LDIF is as follows:
> ...
>
> # backend definitions
> dn: olcBackend=
{X}
<typeA>,cn=config
> dn: olcBackend=<typeA>,cn=config
> objectClass: olcBackendConfig
> olcBackend:
{X}
<typeA>
> olcBackend: <typeA>
> <backend-specific settings>
>
> # database definitions
...
...
@@ -358,7 +358,7 @@ H3: Database-specific Directives
Directives in this section are supported by every type of database.
H4: olcDatabase: {<index>}<type>
H4: olcDatabase:
[
{<index>}
]
<type>
This directive names a specific database instance. The numeric {<index>} may
be provided to distinguish multiple databases of the same type. Usually the
...
...
@@ -477,7 +477,7 @@ See the chapter entitled {{SECT:Replication with slurpd}} for more
information on how to use this directive.
H4: olcRoot
dn
: <DN>
H4: olcRoot
DN
: <DN>
This directive specifies the DN that is not subject to
access control or administrative limit restrictions for
...
...
@@ -487,11 +487,11 @@ DN may refer to a SASL identity.
Entry-based Example:
> olcRoot
dn
: "cn=Manager,dc=example,dc=com"
> olcRoot
DN
: "cn=Manager,dc=example,dc=com"
SASL-based Example:
> olcRoot
dn
: "uid=root,cn=example.com,cn=digest-md5,cn=auth"
> olcRoot
DN
: "uid=root,cn=example.com,cn=digest-md5,cn=auth"
See the {{SECT:SASL Authentication}} section for information on
SASL authentication identities.
...
...
@@ -531,8 +531,10 @@ H4: olcSuffix: <dn suffix>
This directive specifies the DN suffix of queries that will be
passed to this backend database. Multiple suffix lines can be
given, and at least one is required for each database
definition.
given, and usually at least one is required for each database
definition. (Some backend types, such as {{EX:frontend}} and
{{EX:monitor}} use a hard-coded suffix which may not be overridden
in the configuration.)
\Example:
...
...
@@ -713,23 +715,41 @@ If specified multiple times, each {{TERM:URL}} is provided.
> olcUpdateref: ldap://master.example.net
H4: Sample Entry
>dn: olcDatabase=frontend,cn=config
>objectClass: olcDatabaseConfig
>olcDatabase: frontend
>olcReadOnly: FALSE
H3: BDB Database Directives
Directives in this category only apply to a {{TERM:BDB}} database.
That is, they must follow a "database bdb" line and come before any
subsequent "backend" or "database" line. For a complete reference
They are used in an olcDatabase entry in addition to the generic
database directives defined above. Their use requires the database
entry to also use the {{EX:olcBdbConfig}} objectClass.
For a complete reference
of BDB configuration directives, see {{slapd-bdb}}(5).
H4:
d
irectory <directory>
H4:
olcDbD
irectory
:
<directory>
This directive specifies the directory where the BDB files
containing the database and associated indices live.
\Default:
> directory /usr/local/var/openldap-data
> olcDbDirectory: /usr/local/var/openldap-data
H4: Sample Entry
>dn: olcDatabase=bdb,cn=config
>objectClass: olcDatabaseConfig
>objectClass: olcBdbConfig
>olcDatabase: bdb
>olcSuffix: "dc=example,dc=com"
>olcDbDirectory: /usr/local/var/openldap-data
H3: LDBM Database Directives
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment