openldap/doc/guide/admin/slapdconfig.sdf

576 lines
20 KiB
Plaintext
Raw Normal View History

1999-10-01 00:57:45 +08:00
# $OpenLDAP$
2009-01-22 08:40:04 +08:00
# Copyright 1999-2009 The OpenLDAP Foundation, All Rights Reserved.
1999-04-24 07:41:45 +08:00
# COPYING RESTRICTIONS APPLY, see COPYRIGHT.
2000-07-23 02:59:40 +08:00
H1: The slapd Configuration File
1999-04-24 07:00:44 +08:00
Once the software has been built and installed, you are ready
to configure {{slapd}}(8) for use at your site. The slapd
runtime configuration is primarily accomplished through the
2000-08-24 07:23:16 +08:00
{{slapd.conf}}(5) file, normally installed in the
{{EX:/usr/local/etc/openldap}} directory.
1999-04-24 07:00:44 +08:00
An alternate configuration file location can be specified via a command-line
option to {{slapd}}(8). This chapter describes the general format
of the {{slapd.conf}}(5) configuration file, followed by a detailed
description of commonly used config file directives.
1999-04-24 07:00:44 +08:00
H2: Configuration File Format
The {{slapd.conf}}(5) file consists of three types of configuration
information: global, backend specific, and database specific. Global
2000-08-10 09:38:36 +08:00
information is specified first, followed by information associated
with a particular backend type, which is then followed by information
associated with a particular database instance. Global directives can
2002-06-15 09:00:50 +08:00
be overridden in backend and/or database directives, and backend directives
2000-08-10 09:38:36 +08:00
can be overridden by database directives.
1999-04-24 07:00:44 +08:00
2000-08-10 09:38:36 +08:00
Blank lines and comment lines beginning with a '{{EX:#}}' character
are ignored. If a line begins with whitespace, it is considered a
2003-11-25 04:34:45 +08:00
continuation of the previous line (even if the previous line is a
comment).
The general format of slapd.conf is as follows:
1999-04-24 07:00:44 +08:00
> # global configuration directives
> <global config directives>
>
> # backend definition
> backend <typeA>
> <backend-specific directives>
>
> # first database definition & config directives
> database <typeA>
> <database-specific directives>
>
> # second database definition & config directives
> database <typeB>
> <database-specific directives>
>
> # second database definition & config directives
> database <typeA>
> <database-specific directives>
>
> # subsequent backend & database definitions & config directives
> ...
1999-04-24 07:00:44 +08:00
2000-08-10 09:38:36 +08:00
A configuration directive may take arguments. If so, they are
separated by whitespace. If an argument contains whitespace,
the argument should be enclosed in double quotes {{EX:"like this"}}. If
an argument contains a double quote or a backslash character `{{EX:\}}',
the character should be preceded by a backslash character `{{EX:\}}'.
1999-04-24 07:00:44 +08:00
The distribution contains an example configuration file that will
2000-08-10 09:38:36 +08:00
be installed in the {{F: /usr/local/etc/openldap}} directory.
A number of files containing schema definitions (attribute types
2000-08-10 09:38:36 +08:00
and object classes) are also provided in the
{{F: /usr/local/etc/openldap/schema}} directory.
1999-04-24 07:00:44 +08:00
2000-08-10 09:38:36 +08:00
H2: Configuration File Directives
1999-04-24 07:00:44 +08:00
2000-08-10 09:38:36 +08:00
This section details commonly used configuration directives. For
2002-06-15 09:00:50 +08:00
a complete list, see the {{slapd.conf}}(5) manual page. This section
2000-08-10 09:38:36 +08:00
separates the configuration file directives into global,
backend-specific and data-specific categories, describing each
directive and its default value (if any), and giving an example of
1999-04-24 07:00:44 +08:00
its use.
2000-08-10 09:38:36 +08:00
H3: Global Directives
1999-04-24 07:00:44 +08:00
Directives described in this section apply to all backends
and databases unless specifically overridden in a backend or
2000-09-01 02:36:01 +08:00
database definition. Arguments that should be replaced
by actual text are shown in brackets {{EX:<>}}.
1999-04-24 07:00:44 +08:00
H4: access to <what> [ by <who> [<accesslevel>] [<control>] ]+
1999-04-24 07:00:44 +08:00
This directive grants access (specified by <accesslevel>) to a set
of entries and/or attributes (specified by <what>) by one or more
requestors (specified by <who>). See the {{SECT:Access Control}} section of
this guide for basic usage.
!if 0
More details discussion of this directive can be found in the
{{SECT:Advanced Access Control}} chapter.
!endif
1999-04-24 07:00:44 +08:00
Note: If no {{EX:access}} directives are specified, the default
access control policy, {{EX:access to * by * read}}, allows all
both authenticated and anonymous users read access.
1999-04-24 07:00:44 +08:00
2006-06-10 01:20:38 +08:00
H4: attributetype <{{REF:RFC4512}} Attribute Type Description>
1999-04-24 07:00:44 +08:00
2000-08-10 09:38:36 +08:00
This directive defines an attribute type.
Please see the {{SECT:Schema Specification}} chapter
for information regarding how to use this directive.
1999-04-24 07:00:44 +08:00
H4: idletimeout <integer>
Specify the number of seconds to wait before forcibly closing
an idle client connection. An idletimeout of 0, the default,
disables this feature.
1999-04-24 07:00:44 +08:00
H4: include <filename>
2000-08-10 09:38:36 +08:00
This directive specifies that slapd should read additional
1999-04-24 07:00:44 +08:00
configuration information from the given file before continuing
with the next line of the current file. The included file should
follow the normal slapd config file format. The file is commonly
used to include files containing schema specifications.
1999-04-24 07:00:44 +08:00
2000-08-10 09:38:36 +08:00
Note: You should be careful when using this directive - there is
no small limit on the number of nested include directives, and no
1999-04-24 07:00:44 +08:00
loop detection is done.
H4: loglevel <integer>
2000-08-10 09:38:36 +08:00
This directive specifies the level at which debugging statements
2000-08-24 07:23:16 +08:00
and operation statistics should be syslogged (currently logged to
2002-06-14 21:01:48 +08:00
the {{syslogd}}(8) {{EX:LOG_LOCAL4}} facility). You must have
2000-08-24 07:23:16 +08:00
configured OpenLDAP {{EX:--enable-debug}} (the default) for this
to work (except for the two statistics levels, which are always
enabled). Log levels may be specified as integers or by keyword.
Multiple log levels may be used and the levels are additive. To display what
numbers correspond to what kind of debugging, invoke slapd with {{EX:-d?}}
2000-08-24 07:23:16 +08:00
or consult the table below. The possible values for <integer> are:
1999-04-24 07:00:44 +08:00
!block table; colaligns="RL"; align=Center; \
2006-12-08 09:57:07 +08:00
title="Table 6.1: Debugging Levels"
Level Keyword Description
-1 any enable all debugging
0 (0x0 no) debugging
1 (0x1 trace) trace function calls
2 (0x2 packets) debug packet handling
4 (0x4 args) heavy trace debugging
8 (0x8 conns) connection management
16 (0x10 BER) print out packets sent and received
32 (0x20 filter) search filter processing
64 (0x40 config) configuration processing
128 (0x80 ACL) access control list processing
256 (0x100 stats) stats log connections/operations/results
512 (0x200 stats2) stats log entries sent
1024 (0x400 shell) print communication with shell backends
2048 (0x800 parse) print entry parsing debugging
16384 (0x4000 sync) syncrepl consumer processing
32768 (0x8000 none) only messages that get logged whatever log level is set
!endblock
1999-04-24 07:00:44 +08:00
The desired log level can be input as a single integer that
combines the (ORed) desired levels, both in decimal or in hexadecimal
notation, as a list of integers (that are ORed internally), or as a list of the names that are shown between brackets, such that
> loglevel 129
> loglevel 0x81
> loglevel 128 1
> loglevel 0x80 0x1
> loglevel acl trace
are equivalent.
\Examples:
1999-04-24 07:00:44 +08:00
E: loglevel -1
1999-04-24 07:00:44 +08:00
This will cause lots and lots of debugging information to be
logged.
1999-04-24 07:00:44 +08:00
E: loglevel conns filter
Just log the connection and search filter processing.
E: loglevel none
Log those messages that are logged regardless of the configured loglevel. This
differs from setting the log level to 0, when no logging occurs. At least the
{{EX:None}} level is required to have high priority messages logged.
1999-04-24 07:00:44 +08:00
\Default:
E: loglevel stats
1999-04-24 07:00:44 +08:00
Basic stats logging is configured by default. However, if no loglevel is
defined, no logging occurs (equivalent to a 0 level).
2006-06-10 01:20:38 +08:00
H4: objectclass <{{REF:RFC4512}} Object Class Description>
1999-04-24 07:00:44 +08:00
2000-08-10 09:38:36 +08:00
This directive defines an object class.
Please see the {{SECT:Schema Specification}} chapter for
information regarding how to use this directive.
1999-04-24 07:00:44 +08:00
2000-08-11 01:49:29 +08:00
H4: referral <URI>
1999-04-24 07:00:44 +08:00
2000-08-10 09:38:36 +08:00
This directive specifies the referral to pass back when slapd
1999-04-24 07:00:44 +08:00
cannot find a local database to handle a request.
\Example:
> referral ldap://root.openldap.org
1999-04-24 07:00:44 +08:00
2000-08-10 09:38:36 +08:00
This will refer non-local queries to the global root LDAP server
at the OpenLDAP Project. Smart LDAP clients can re-ask their
1999-04-24 07:00:44 +08:00
query at that server, but note that most of these clients are
only going to know how to handle simple LDAP URLs that
contain a host part and optionally a distinguished name part.
H4: sizelimit <integer>
2000-08-10 09:38:36 +08:00
This directive specifies the maximum number of entries to return
1999-04-24 07:00:44 +08:00
from a search operation.
\Default:
> sizelimit 500
1999-04-24 07:00:44 +08:00
See the {{SECT:Limits}} section of this guide and slapd.conf(5)
for more details.
1999-04-24 07:00:44 +08:00
H4: timelimit <integer>
2000-08-10 09:38:36 +08:00
This directive specifies the maximum number of seconds (in real
1999-04-24 07:00:44 +08:00
time) slapd will spend answering a search request. If a
request is not finished in this time, a result indicating an
exceeded timelimit will be returned.
\Default:
> timelimit 3600
1999-04-24 07:00:44 +08:00
See the {{SECT:Limits}} section of this guide and slapd.conf(5)
for more details.
1999-04-24 07:00:44 +08:00
2000-08-10 09:38:36 +08:00
H3: General Backend Directives
1999-04-24 07:00:44 +08:00
2000-09-01 02:36:01 +08:00
Directives in this section apply only to the backend in which
they are defined. They are supported by every type of backend.
Backend directives apply to all databases instances of the
same type and, depending on the directive, may be overridden
by database directives.
H4: backend <type>
2002-06-15 05:19:42 +08:00
This directive marks the beginning of a backend declaration.
2002-06-15 09:00:50 +08:00
{{EX:<type>}} should be one of the
2006-12-08 09:57:07 +08:00
supported backend types listed in Table 6.2.
2002-06-15 05:19:42 +08:00
!block table; align=Center; coltags="EX,N"; \
title="Table 5.2: Database Backends"
Types Description
bdb Berkeley DB transactional backend
dnssrv DNS SRV backend
2005-07-29 11:43:14 +08:00
hdb Hierarchical variant of bdb backend
2002-06-15 05:19:42 +08:00
ldap Lightweight Directory Access Protocol (Proxy) backend
meta Meta Directory backend
monitor Monitor backend
passwd Provides read-only access to {{passwd}}(5)
perl Perl Programmable backend
shell Shell (extern program) backend
sql SQL Programmable backend
!endblock
\Example:
2002-06-15 09:00:50 +08:00
> backend bdb
2002-06-15 05:19:42 +08:00
This marks the beginning of a new {{TERM:BDB}} backend
definition.
2000-09-01 02:36:01 +08:00
2000-08-10 09:38:36 +08:00
H3: General Database Directives
1999-04-24 07:00:44 +08:00
2000-09-01 02:36:01 +08:00
Directives in this section apply only to the database in which
2000-08-10 09:38:36 +08:00
they are defined. They are supported by every type of database.
1999-04-24 07:00:44 +08:00
2000-09-01 02:36:01 +08:00
H4: database <type>
1999-04-24 07:00:44 +08:00
2002-06-15 05:19:42 +08:00
This directive marks the beginning of a database instance
declaration.
2002-06-15 09:00:50 +08:00
{{EX:<type>}} should be one of the
2006-12-08 09:57:07 +08:00
supported backend types listed in Table 6.2.
1999-04-24 07:00:44 +08:00
\Example:
2002-06-15 05:19:42 +08:00
> database bdb
1999-04-24 07:00:44 +08:00
2002-06-15 05:19:42 +08:00
This marks the beginning of a new {{TERM:BDB}} database instance
declaration.
1999-04-24 07:00:44 +08:00
H4: limits <who> <limit> [<limit> [...]]
Specify time and size limits based on who initiated an operation.
See the {{SECT:Limits}} section of this guide and slapd.conf(5)
for more details.
1999-04-24 07:00:44 +08:00
H4: readonly { on | off }
2000-08-10 09:38:36 +08:00
This directive puts the database into "read-only" mode. Any
1999-04-24 07:00:44 +08:00
attempts to modify the database will return an "unwilling to
perform" error.
\Default:
> readonly off
1999-04-24 07:00:44 +08:00
H4: rootdn <DN>
1999-04-24 07:00:44 +08:00
This directive specifies the DN that is not subject to
1999-04-24 07:00:44 +08:00
access control or administrative limit restrictions for
operations on this database. The DN need not refer to
2002-06-17 13:33:32 +08:00
an entry in this database or even in the directory. The
DN may refer to a SASL identity.
1999-04-24 07:00:44 +08:00
Entry-based Example:
1999-04-24 07:00:44 +08:00
> rootdn "cn=Manager,dc=example,dc=com"
1999-04-24 07:00:44 +08:00
SASL-based Example:
2002-06-15 09:00:50 +08:00
> rootdn "uid=root,cn=example.com,cn=digest-md5,cn=auth"
See the {{SECT:SASL Authentication}} section for information on
SASL authentication identities.
1999-04-24 07:00:44 +08:00
H4: rootpw <password>
2002-06-17 13:33:32 +08:00
This directive can be used to specifies a password for the DN for
the rootdn (when the rootdn is set to a DN within the database).
1999-04-24 07:00:44 +08:00
\Example:
> rootpw secret
1999-04-24 07:00:44 +08:00
2006-06-10 01:20:38 +08:00
It is also permissible to provide hash of the password in {{REF:RFC2307}}
form. {{slappasswd}}(8) may be used to generate the password hash.
2002-06-17 13:33:32 +08:00
\Example:
> rootpw {SSHA}ZKKuqbEKJfKSXhUbHG3fG8MDn9j1v4QN
The hash was generated using the command {{EX:slappasswd -s secret}}.
1999-04-24 07:00:44 +08:00
H4: suffix <dn suffix>
2000-08-10 09:38:36 +08:00
This directive specifies the DN suffix of queries that will be
1999-04-24 07:00:44 +08:00
passed to this backend database. Multiple suffix lines can be
given, and at least one is required for each database
definition.
\Example:
> suffix "dc=example,dc=com"
1999-04-24 07:00:44 +08:00
Queries with a DN ending in "dc=example,dc=com"
1999-04-24 07:00:44 +08:00
will be passed to this backend.
Note: When the backend to pass a query to is selected, slapd
1999-04-24 07:00:44 +08:00
looks at the suffix line(s) in each database definition in the
order they appear in the file. Thus, if one database suffix is a
prefix of another, it must appear after it in the config file.
2003-11-24 22:44:30 +08:00
H4: syncrepl
2003-11-27 05:10:50 +08:00
> syncrepl rid=<replica ID>
> provider=ldap[s]://<hostname>[:port]
2003-11-25 02:57:22 +08:00
> [type=refreshOnly|refreshAndPersist]
> [interval=dd:hh:mm:ss]
2004-10-28 02:29:01 +08:00
> [retry=[<retry interval> <# of retries>]+]
> searchbase=<base DN>
> [filter=<filter str>]
> [scope=sub|one|base]
2003-11-25 02:57:22 +08:00
> [attrs=<attr list>]
> [attrsonly]
2003-11-24 22:44:30 +08:00
> [sizelimit=<limit>]
> [timelimit=<limit>]
> [schemachecking=on|off]
2003-11-25 02:57:22 +08:00
> [bindmethod=simple|sasl]
> [binddn=<DN>]
2003-11-25 02:57:22 +08:00
> [saslmech=<mech>]
> [authcid=<identity>]
> [authzid=<identity>]
> [credentials=<passwd>]
> [realm=<realm>]
> [secprops=<properties>]
> [starttls=yes|critical]
> [tls_cert=<file>]
> [tls_key=<file>]
> [tls_cacert=<file>]
> [tls_cacertdir=<path>]
> [tls_reqcert=never|allow|try|demand]
> [tls_ciphersuite=<ciphers>]
> [tls_crlcheck=none|peer|all]
> [logbase=<base DN>]
> [logfilter=<filter str>]
> [syncdata=default|accesslog|changelog]
2003-11-24 22:44:30 +08:00
2003-11-24 22:44:30 +08:00
This directive specifies the current database as a replica of the
master content by establishing the current {{slapd}}(8) as a
replication consumer site running a syncrepl replication engine.
The master database is located at the replication provider site
specified by the {{EX:provider}} parameter. The replica database is
kept up-to-date with the master content using the LDAP Content
2006-11-16 22:49:07 +08:00
Synchronization protocol. See {{REF:RFC4533}}
for more information on the protocol.
2003-11-24 22:44:30 +08:00
2003-11-27 05:10:50 +08:00
The {{EX:rid}} parameter is used for identification of the current
2003-12-22 04:00:14 +08:00
{{EX:syncrepl}} directive within the replication consumer server,
2003-11-27 05:10:50 +08:00
where {{EX:<replica ID>}} uniquely identifies the syncrepl specification
described by the current {{EX:syncrepl}} directive. {{EX:<replica ID>}}
2003-12-22 04:00:14 +08:00
is non-negative and is no more than three decimal digits in length.
2003-11-24 22:44:30 +08:00
The {{EX:provider}} parameter specifies the replication provider site
containing the master content as an LDAP URI. The {{EX:provider}}
2003-11-24 22:44:30 +08:00
parameter specifies a scheme, a host and optionally a port where the
provider slapd instance can be found. Either a domain name or IP
address may be used for <hostname>. Examples are
{{EX:ldap://provider.example.com:389}} or {{EX:ldaps://192.168.1.1:636}}.
If <port> is not given, the standard LDAP port number (389 or 636) is used.
Note that the syncrepl uses a consumer-initiated protocol, and hence its
2003-11-24 22:44:30 +08:00
specification is located at the consumer site, whereas the {{EX:replica}}
specification is located at the provider site. {{EX:syncrepl}} and
{{EX:replica}} directives define two independent replication
mechanisms. They do not represent the replication peers of each other.
2003-11-24 22:44:30 +08:00
The content of the syncrepl replica is defined using a search
specification as its result set. The consumer slapd will
2003-11-25 04:50:23 +08:00
send search requests to the provider slapd according to the search
2003-11-25 02:57:22 +08:00
specification. The search specification includes {{EX:searchbase}},
{{EX:scope}}, {{EX:filter}}, {{EX:attrs}}, {{EX:attrsonly}},
{{EX:sizelimit}}, and {{EX:timelimit}} parameters as in the normal
search specification. The {{EX:searchbase}} parameter has no
default value and must always be specified. The {{EX:scope}} defaults
to {{EX:sub}}, the {{EX:filter}} defaults to {{EX:(objectclass=*)}},
{{EX:attrs}} defaults to {{EX:"*,+"}} to replicate all user and operational
attributes, and {{EX:attrsonly}} is unset by default. Both {{EX:sizelimit}}
and {{EX:timelimit}} default to "unlimited", and only positive integers
or "unlimited" may be specified.
2003-11-25 02:57:22 +08:00
The {{TERM[expand]LDAP Sync}} protocol has two operation
2003-11-25 02:57:22 +08:00
types: {{EX:refreshOnly}} and {{EX:refreshAndPersist}}.
2003-11-24 22:44:30 +08:00
The operation type is specified by the {{EX:type}} parameter.
In the {{EX:refreshOnly}} operation, the next synchronization search operation
2003-11-25 02:57:22 +08:00
is periodically rescheduled at an interval time after each
2003-11-24 22:44:30 +08:00
synchronization operation finishes. The interval is specified
by the {{EX:interval}} parameter. It is set to one day by default.
In the {{EX:refreshAndPersist}} operation, a synchronization search
remains persistent in the provider {{slapd}} instance. Further updates to the
master replica will generate {{EX:searchResultEntry}} to the consumer slapd
2003-11-25 02:57:22 +08:00
as the search responses to the persistent synchronization search.
2004-10-28 02:29:01 +08:00
If an error occurs during replication, the consumer will attempt to reconnect
according to the retry parameter which is a list of the <retry interval>
2005-06-11 12:59:58 +08:00
and <# of retries> pairs. For example, retry="60 10 300 3" lets the consumer
2004-10-28 02:29:01 +08:00
retry every 60 seconds for the first 10 times and then retry every 300 seconds
for the next three times before stop retrying. + in <# of retries> means
indefinite number of retries until success.
The schema checking can be enforced at the LDAP Sync consumer site
by turning on the {{EX:schemachecking}} parameter.
If it is turned on, every replicated entry will be checked for its
schema as the entry is stored into the replica content.
Every entry in the replica should contain those attributes
required by the schema definition.
If it is turned off, entries will be stored without checking
schema conformance. The default is off.
2003-11-25 02:57:22 +08:00
The {{EX:binddn}} parameter gives the DN to bind as for the
syncrepl searches to the provider slapd. It should be a DN
which has read access to the replication content in the
master database.
The {{EX:bindmethod}} is {{EX:simple}} or {{EX:sasl}},
depending on whether simple password-based authentication or
{{TERM:SASL}} authentication is to be used when connecting
to the provider {{slapd}} instance.
2005-03-25 11:48:04 +08:00
Simple authentication should not be used unless adequate data
integrity and confidentiality protections are in place (e.g. TLS
2006-12-10 00:53:09 +08:00
or IPsec). Simple authentication requires specification of {{EX:binddn}}
2005-03-25 11:48:04 +08:00
and {{EX:credentials}} parameters.
2003-11-25 02:57:22 +08:00
SASL authentication is generally recommended. SASL authentication
requires specification of a mechanism using the {{EX:saslmech}} parameter.
Depending on the mechanism, an authentication identity and/or
2003-11-25 02:57:22 +08:00
credentials can be specified using {{EX:authcid}} and {{EX:credentials}},
respectively. The {{EX:authzid}} parameter may be used to specify
2003-11-25 02:57:22 +08:00
an authorization identity.
The {{EX:realm}} parameter specifies a realm which a certain
mechanisms authenticate the identity within. The {{EX:secprops}}
parameter specifies Cyrus SASL security properties.
The {{EX:starttls}} parameter specifies use of the StartTLS extended
operation to establish a TLS session before authenticating to the provider.
If the {{EX:critical}} argument is supplied, the session will be aborted
if the StartTLS request fails. Otherwise the syncrepl session continues
without TLS. Note that the main slapd TLS settings are not used by the
syncrepl engine; by default the TLS parameters from a {{ldap.conf}}(5)
configuration file will be used. TLS settings may be specified here,
in which case any {{ldap.conf}}(5) settings will be completely ignored.
Rather than replicating whole entries, the consumer can query logs
of data modifications. This mode of operation is referred to as
{{delta syncrepl}}. In addition to the above parameters, the
{{EX:logbase}} and {{EX:logfilter}} parameters must be set appropriately
for the log that will be used. The {{EX:syncdata}} parameter must
be set to either {{EX:"accesslog"}} if the log conforms to the
{{slapo-accesslog}}(5) log format, or {{EX:"changelog"}} if the log
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.
See the {{SECT:LDAP Sync Replication}} chapter of this guide for
more information on how to use this directive.
1999-04-24 07:00:44 +08:00
H4: updateref <URL>
This directive is only applicable in a {{slave}} (or {{shadow}})
{{slapd}}(8) instance. It
specifies the URL to return to clients which submit update
requests upon the replica.
If specified multiple times, each {{TERM:URL}} is provided.
\Example:
> updateref ldap://master.example.net
2005-07-29 11:43:14 +08:00
H3: BDB and HDB Database Directives
2002-06-15 05:19:42 +08:00
2005-07-29 11:43:14 +08:00
Directives in this category only apply to both the {{TERM:BDB}}
and the {{TERM:HDB}} database.
That is, they must follow a "database bdb" or "database hdb" line
and come before any
subsequent "backend" or "database" line. For a complete reference
2005-07-29 11:43:14 +08:00
of BDB/HDB configuration directives, see {{slapd-bdb}}(5).
2002-06-15 05:19:42 +08:00
2002-06-15 05:19:42 +08:00
H4: directory <directory>
This directive specifies the directory where the BDB files
2002-06-15 09:00:50 +08:00
containing the database and associated indices live.
2002-06-15 05:19:42 +08:00
\Default:
> directory /usr/local/var/openldap-data