]> git.sur5r.net Git - openldap/blob - doc/guide/admin/slapdconfig.sdf
8bbc05f4e0bddaa3c7c8bd3b4f3c3599ec35019e
[openldap] / doc / guide / admin / slapdconfig.sdf
1 # $OpenLDAP$
2 # Copyright 1999-2015 The OpenLDAP Foundation, All Rights Reserved.
3 # COPYING RESTRICTIONS APPLY, see COPYRIGHT.
4
5 H1: The slapd Configuration File
6
7 This chapter describes configuring {{slapd}}(8) via the {{slapd.conf}}(5)
8 configuration file.  {{slapd.conf}}(5) has been deprecated and should
9 only be used if your site requires one of the backends that hasn't yet
10 been updated to work with the newer {{slapd-config}}(5) system.  Configuring
11 {{slapd}}(8) via {{slapd-config}}(5) is described in the previous chapter.
12
13 The {{slapd.conf}}(5) file is normally installed in the
14 {{EX:/usr/local/etc/openldap}} directory.  An alternate configuration
15 file location can be specified via a command-line option to {{slapd}}(8).
16
17
18 H2: Configuration File Format
19
20 The {{slapd.conf}}(5) file consists of three types of configuration
21 information: global, backend specific, and database specific.  Global
22 information is specified first, followed by information associated
23 with a particular backend type, which is then followed by information
24 associated with a particular database instance.  Global directives can
25 be overridden in backend and/or database directives, and backend directives
26 can be overridden by database directives.
27
28 Blank lines and comment lines beginning with a '{{EX:#}}' character
29 are ignored.  If a line begins with whitespace, it is considered a
30 continuation of the previous line (even if the previous line is a
31 comment).
32
33 The general format of slapd.conf is as follows:
34
35 >       # global configuration directives
36 >       <global config directives>
37 >
38 >       # backend definition
39 >       backend <typeA>
40 >       <backend-specific directives>
41 >
42 >       # first database definition & config directives
43 >       database <typeA>
44 >       <database-specific directives>
45 >
46 >       # second database definition & config directives
47 >       database <typeB>
48 >       <database-specific directives>
49 >
50 >       # second database definition & config directives
51 >       database <typeA>
52 >       <database-specific directives>
53 >
54 >       # subsequent backend & database definitions & config directives
55 >       ...
56
57 A configuration directive may take arguments.  If so, they are
58 separated by whitespace.  If an argument contains whitespace,
59 the argument should be enclosed in double quotes {{EX:"like this"}}. If
60 an argument contains a double quote or a backslash character `{{EX:\}}',
61 the character should be preceded by a backslash character `{{EX:\}}'.
62
63 The distribution contains an example configuration file that will
64 be installed in the {{F: /usr/local/etc/openldap}} directory.
65 A number of files containing schema definitions (attribute types
66 and object classes) are also provided in the
67 {{F: /usr/local/etc/openldap/schema}} directory.
68
69
70 H2: Configuration File Directives
71
72 This section details commonly used configuration directives.  For
73 a complete list, see the {{slapd.conf}}(5) manual page.  This section
74 separates the configuration file directives into global,
75 backend-specific and data-specific categories, describing each
76 directive and its default value (if any), and giving an example of
77 its use.
78
79
80
81 H3: Global Directives
82
83 Directives described in this section apply to all backends
84 and databases unless specifically overridden in a backend or
85 database definition.  Arguments that should be replaced
86 by actual text are shown in brackets {{EX:<>}}.
87
88
89 H4: access to <what> [ by <who> [<accesslevel>] [<control>] ]+
90
91 This directive grants access (specified by <accesslevel>) to a set
92 of entries and/or attributes (specified by <what>) by one or more
93 requestors (specified by <who>).  See the {{SECT:Access Control}} section of 
94 this guide for basic usage.
95
96 !if 0
97 More details discussion of this directive can be found in the
98 {{SECT:Advanced Access Control}} chapter.
99 !endif
100
101 Note: If no {{EX:access}} directives are specified, the default
102 access control policy, {{EX:access to * by * read}}, allows all
103 both authenticated and anonymous users read access.
104
105
106 H4: attributetype <{{REF:RFC4512}} Attribute Type Description>
107
108 This directive defines an attribute type.
109 Please see the {{SECT:Schema Specification}} chapter
110 for information regarding how to use this directive.
111
112 H4: idletimeout <integer>
113
114 Specify the number of seconds to wait before forcibly closing
115 an idle client connection.  An idletimeout of 0, the default,
116 disables this feature.
117
118
119 H4: include <filename>
120
121 This directive specifies that slapd should read additional
122 configuration information from the given file before continuing
123 with the next line of the current file. The included file should
124 follow the normal slapd config file format.  The file is commonly
125 used to include files containing schema specifications.
126
127 Note: You should be careful when using this directive - there is
128 no small limit on the number of nested include directives, and no
129 loop detection is done.
130
131 H4: loglevel <level>
132
133 This directive specifies the level at which debugging statements
134 and operation statistics should be syslogged (currently logged to
135 the {{syslogd}}(8) {{EX:LOG_LOCAL4}} facility). You must have
136 configured OpenLDAP {{EX:--enable-debug}} (the default) for this
137 to work (except for the two statistics levels, which are always
138 enabled). Log levels may be specified as integers or by keyword.
139 Multiple log levels may be used and the levels are additive. To display what
140 numbers correspond to what kind of debugging, invoke slapd with {{EX:-d?}}
141 or consult the table below. The possible values for <integer> are:
142
143 !block table; colaligns="RL"; align=Center; \
144         title="Table 6.1: Debugging Levels"
145 Level   Keyword         Description
146 -1      any             enable all debugging
147 0                       no debugging
148 1       (0x1 trace)     trace function calls
149 2       (0x2 packets)   debug packet handling
150 4       (0x4 args)      heavy trace debugging
151 8       (0x8 conns)     connection management
152 16      (0x10 BER)      print out packets sent and received
153 32      (0x20 filter)   search filter processing
154 64      (0x40 config)   configuration processing
155 128     (0x80 ACL)      access control list processing
156 256     (0x100 stats)   stats log connections/operations/results
157 512     (0x200 stats2)  stats log entries sent
158 1024    (0x400 shell)   print communication with shell backends
159 2048    (0x800 parse)   print entry parsing debugging
160 16384   (0x4000 sync)   syncrepl consumer processing
161 32768   (0x8000 none)   only messages that get logged whatever log level is set
162 !endblock
163
164 The desired log level can be input as a single integer that
165 combines the (ORed) desired levels, both in decimal or in hexadecimal 
166 notation, as a list of integers (that are ORed internally), or as a list of the names that are shown between brackets, such that
167
168 >               loglevel 129
169 >               loglevel 0x81
170 >               loglevel 128 1
171 >               loglevel 0x80 0x1
172 >               loglevel acl trace
173
174 are equivalent.
175
176 \Examples:
177
178 E: loglevel -1
179
180 This will cause lots and lots of debugging information to be
181 logged.
182
183 E: loglevel conns filter
184
185 Just log the connection and search filter processing.
186
187 E: loglevel none
188
189 Log those messages that are logged regardless of the configured loglevel. This
190 differs from setting the log level to 0, when no logging occurs. At least the
191 {{EX:None}} level is required to have high priority messages logged.
192
193 \Default:
194
195 E: loglevel stats
196
197 Basic stats logging is configured by default. However, if no loglevel is
198 defined, no logging occurs (equivalent to a 0 level).
199
200 H4: objectclass <{{REF:RFC4512}} Object Class Description>
201
202 This directive defines an object class.
203 Please see the {{SECT:Schema Specification}} chapter for
204 information regarding how to use this directive.
205
206
207 H4: referral <URI>
208
209 This directive specifies the referral to pass back when slapd
210 cannot find a local database to handle a request.
211
212 \Example:
213
214 >       referral ldap://root.openldap.org
215
216 This will refer non-local queries to the global root LDAP server
217 at the OpenLDAP Project. Smart LDAP clients can re-ask their
218 query at that server, but note that most of these clients are
219 only going to know how to handle simple LDAP URLs that
220 contain a host part and optionally a distinguished name part.
221
222
223 H4: sizelimit <integer>
224
225 This directive specifies the maximum number of entries to return
226 from a search operation.
227
228 \Default:
229
230 >       sizelimit 500
231
232 See the {{SECT:Limits}} section of this guide and slapd.conf(5)
233 for more details.
234
235 H4: timelimit <integer>
236
237 This directive specifies the maximum number of seconds (in real
238 time) slapd will spend answering a search request. If a
239 request is not finished in this time, a result indicating an
240 exceeded timelimit will be returned.
241
242 \Default:
243
244 >       timelimit 3600
245
246 See the {{SECT:Limits}} section of this guide and slapd.conf(5)
247 for more details.
248
249
250 H3: General Backend Directives
251
252 Directives in this section apply only to the backend in which
253 they are defined. They are supported by every type of backend.
254 Backend directives apply to all databases instances of the
255 same type and, depending on the directive, may be overridden
256 by database directives.
257
258 H4: backend <type>
259
260 This directive marks the beginning of a backend declaration.
261 {{EX:<type>}} should be one of the
262 supported backend types listed in Table 6.2.
263
264 !block table; align=Center; coltags="EX,N"; \
265         title="Table 6.2: Database Backends"
266 Types   Description
267 bdb     Berkeley DB transactional backend (deprecated)
268 dnssrv  DNS SRV backend
269 hdb     Hierarchical variant of bdb backend (deprecated)
270 ldap    Lightweight Directory Access Protocol (Proxy) backend
271 mdb     Memory-Mapped DB backend
272 meta    Meta Directory backend
273 monitor Monitor backend
274 passwd  Provides read-only access to {{passwd}}(5)
275 perl    Perl Programmable backend
276 shell   Shell (extern program) backend
277 sql     SQL Programmable backend
278 !endblock
279
280 \Example:
281
282 >       backend bdb
283
284 This marks the beginning of a new {{TERM:BDB}} backend
285 definition.
286
287
288 H3: General Database Directives
289
290 Directives in this section apply only to the database in which
291 they are defined. They are supported by every type of database.
292
293 H4: database <type>
294
295 This directive marks the beginning of a database instance
296 declaration.
297 {{EX:<type>}} should be one of the
298 supported backend types listed in Table 6.2.
299
300 \Example:
301
302 >       database bdb
303
304 This marks the beginning of a new {{TERM:BDB}} database instance
305 declaration.
306
307
308 H4: limits <who> <limit> [<limit> [...]]
309
310 Specify time and size limits based on who initiated an operation.
311
312 See the {{SECT:Limits}} section of this guide and slapd.conf(5)
313 for more details.
314
315
316 H4: readonly { on | off }
317
318 This directive puts the database into "read-only" mode. Any
319 attempts to modify the database will return an "unwilling to
320 perform" error.  If set on a consumer, modifications sent by
321 syncrepl will still occur.
322
323 \Default:
324
325 >       readonly off
326
327
328 H4: rootdn <DN>
329
330 This directive specifies the DN that is not subject to
331 access control or administrative limit restrictions for
332 operations on this database.  The DN need not refer to
333 an entry in this database or even in the directory. The
334 DN may refer to a SASL identity.
335
336 Entry-based Example:
337
338 >       rootdn "cn=Manager,dc=example,dc=com"
339
340 SASL-based Example:
341
342 >       rootdn "uid=root,cn=example.com,cn=digest-md5,cn=auth"
343
344 See the {{SECT:SASL Authentication}} section for information on
345 SASL authentication identities.
346
347
348 H4: rootpw <password>
349
350 This directive can be used to specifies a password for the DN for
351 the rootdn (when the rootdn is set to a DN within the database).
352
353 \Example:
354
355 >       rootpw secret
356
357 It is also permissible to provide hash of the password in {{REF:RFC2307}}
358 form.  {{slappasswd}}(8) may be used to generate the password hash.
359
360 \Example:
361
362 >       rootpw {SSHA}ZKKuqbEKJfKSXhUbHG3fG8MDn9j1v4QN
363
364 The hash was generated using the command {{EX:slappasswd -s secret}}.
365
366
367 H4: suffix <dn suffix>
368
369 This directive specifies the DN suffix of queries that will be
370 passed to this backend database. Multiple suffix lines can be
371 given, and at least one is required for each database
372 definition.
373
374 \Example:
375
376 >       suffix "dc=example,dc=com"
377
378 Queries with a DN ending in "dc=example,dc=com"
379 will be passed to this backend.
380
381 Note: When the backend to pass a query to is selected, slapd
382 looks at the suffix line(s) in each database definition in the
383 order they appear in the file. Thus, if one database suffix is a
384 prefix of another, it must appear after it in the config file.
385
386
387 H4: syncrepl
388
389 >       syncrepl rid=<replica ID>
390 >               provider=ldap[s]://<hostname>[:port]
391 >               [type=refreshOnly|refreshAndPersist]
392 >               [interval=dd:hh:mm:ss]
393 >               [retry=[<retry interval> <# of retries>]+]
394 >               searchbase=<base DN>
395 >               [filter=<filter str>]
396 >               [scope=sub|one|base]
397 >               [attrs=<attr list>]
398 >               [attrsonly]
399 >               [sizelimit=<limit>]
400 >               [timelimit=<limit>]
401 >               [schemachecking=on|off]
402 >               [bindmethod=simple|sasl]
403 >               [binddn=<DN>]
404 >               [saslmech=<mech>]
405 >               [authcid=<identity>]
406 >               [authzid=<identity>]
407 >               [credentials=<passwd>]
408 >               [realm=<realm>]
409 >               [secprops=<properties>]
410 >               [starttls=yes|critical]
411 >               [tls_cert=<file>]
412 >               [tls_key=<file>]
413 >               [tls_cacert=<file>]
414 >               [tls_cacertdir=<path>]
415 >               [tls_reqcert=never|allow|try|demand]
416 >               [tls_ciphersuite=<ciphers>]
417 >               [tls_crlcheck=none|peer|all]
418 >               [logbase=<base DN>]
419 >               [logfilter=<filter str>]
420 >               [syncdata=default|accesslog|changelog]
421
422
423 This directive specifies the current database as a replica of the
424 master content by establishing the current {{slapd}}(8) as a
425 replication consumer site running a syncrepl replication engine.
426 The master database is located at the replication provider site
427 specified by the {{EX:provider}} parameter. The replica database is
428 kept up-to-date with the master content using the LDAP Content
429 Synchronization protocol. See {{REF:RFC4533}}
430 for more information on the protocol.
431
432 The {{EX:rid}} parameter is used for identification of the current
433 {{EX:syncrepl}} directive within the replication consumer server,
434 where {{EX:<replica ID>}} uniquely identifies the syncrepl specification
435 described by the current {{EX:syncrepl}} directive. {{EX:<replica ID>}}
436 is non-negative and is no more than three decimal digits in length.
437
438 The {{EX:provider}} parameter specifies the replication provider site
439 containing the master content as an LDAP URI. The {{EX:provider}}
440 parameter specifies a scheme, a host and optionally a port where the
441 provider slapd instance can be found. Either a domain name or IP
442 address may be used for <hostname>. Examples are
443 {{EX:ldap://provider.example.com:389}} or {{EX:ldaps://192.168.1.1:636}}.
444 If <port> is not given, the standard LDAP port number (389 or 636) is used.
445 Note that the syncrepl uses a consumer-initiated protocol, and hence its
446 specification is located at the consumer site, whereas the {{EX:replica}}
447 specification is located at the provider site. {{EX:syncrepl}} and
448 {{EX:replica}} directives define two independent replication
449 mechanisms. They do not represent the replication peers of each other.
450
451 The content of the syncrepl replica is defined using a search
452 specification as its result set. The consumer slapd will
453 send search requests to the provider slapd according to the search
454 specification. The search specification includes {{EX:searchbase}},
455 {{EX:scope}}, {{EX:filter}}, {{EX:attrs}}, {{EX:attrsonly}},
456 {{EX:sizelimit}}, and {{EX:timelimit}} parameters as in the normal
457 search specification. The {{EX:searchbase}} parameter has no
458 default value and must always be specified. The {{EX:scope}} defaults
459 to {{EX:sub}}, the {{EX:filter}} defaults to {{EX:(objectclass=*)}},
460 {{EX:attrs}} defaults to {{EX:"*,+"}} to replicate all user and operational
461 attributes, and {{EX:attrsonly}} is unset by default. Both {{EX:sizelimit}}
462 and {{EX:timelimit}} default to "unlimited", and only positive integers
463 or "unlimited" may be specified.
464
465 The {{TERM[expand]LDAP Sync}} protocol has two operation
466 types: {{EX:refreshOnly}} and {{EX:refreshAndPersist}}.
467 The operation type is specified by the {{EX:type}} parameter.
468 In the {{EX:refreshOnly}} operation, the next synchronization search operation
469 is periodically rescheduled at an interval time after each
470 synchronization operation finishes. The interval is specified
471 by the {{EX:interval}} parameter. It is set to one day by default.
472 In the {{EX:refreshAndPersist}} operation, a synchronization search
473 remains persistent in the provider {{slapd}} instance. Further updates to the
474 master replica will generate {{EX:searchResultEntry}} to the consumer slapd
475 as the search responses to the persistent synchronization search.
476
477 If an error occurs during replication, the consumer will attempt to reconnect
478 according to the retry parameter which is a list of the <retry interval>
479 and <# of retries> pairs. For example, retry="60 10 300 3" lets the consumer
480 retry every 60 seconds for the first 10 times and then retry every 300 seconds
481 for the next three times before stop retrying. + in <#  of retries> means
482 indefinite number of retries until success.
483
484 The schema checking can be enforced at the LDAP Sync consumer site
485 by turning on the {{EX:schemachecking}} parameter.
486 If it is turned on, every replicated entry will be checked for its
487 schema as the entry is stored into the replica content.
488 Every entry in the replica should contain those attributes
489 required by the schema definition.
490 If it is turned off, entries will be stored without checking
491 schema conformance. The default is off.
492
493 The {{EX:binddn}} parameter gives the DN to bind as for the
494 syncrepl searches to the provider slapd. It should be a DN
495 which has read access to the replication content in the
496 master database. 
497
498 The {{EX:bindmethod}} is {{EX:simple}} or {{EX:sasl}},
499 depending on whether simple password-based authentication or
500 {{TERM:SASL}} authentication is to be used when connecting
501 to the provider {{slapd}} instance.
502
503 Simple authentication should not be used unless adequate data
504 integrity and confidentiality protections are in place (e.g. TLS
505 or IPsec). Simple authentication requires specification of {{EX:binddn}}
506 and {{EX:credentials}} parameters.
507
508 SASL authentication is generally recommended.  SASL authentication
509 requires specification of a mechanism using the {{EX:saslmech}} parameter.
510 Depending on the mechanism, an authentication identity and/or
511 credentials can be specified using {{EX:authcid}} and {{EX:credentials}},
512 respectively.  The {{EX:authzid}} parameter may be used to specify
513 an authorization identity.
514
515 The {{EX:realm}} parameter specifies a realm which a certain
516 mechanisms authenticate the identity within. The {{EX:secprops}}
517 parameter specifies Cyrus SASL security properties.
518
519 The {{EX:starttls}} parameter specifies use of the StartTLS extended
520 operation to establish a TLS session before authenticating to the provider.
521 If the {{EX:critical}} argument is supplied, the session will be aborted
522 if the StartTLS request fails.  Otherwise the syncrepl session continues
523 without TLS.  Note that the main slapd TLS settings are not used by the
524 syncrepl engine; by default the TLS parameters from a {{ldap.conf}}(5)
525 configuration file will be used.  TLS settings may be specified here,
526 in which case any {{ldap.conf}}(5) settings will be completely ignored.
527
528 Rather than replicating whole entries, the consumer can query logs
529 of data modifications.  This mode of operation is referred to as
530 {{delta syncrepl}}.  In addition to the above parameters, the
531 {{EX:logbase}} and {{EX:logfilter}} parameters must be set appropriately
532 for the log that will be used. The {{EX:syncdata}} parameter must
533 be set to either {{EX:"accesslog"}} if the log conforms to the
534 {{slapo-accesslog}}(5) log format, or {{EX:"changelog"}} if the log
535 conforms to the obsolete {{changelog}} format. If the {{EX:syncdata}}
536 parameter is omitted or set to {{EX:"default"}} then the log
537 parameters are ignored.
538
539 The {{syncrepl}} replication mechanism is supported by the {{bdb}},
540 {{hdb}}, and {{mdb}} backends.
541
542 See the {{SECT:LDAP Sync Replication}} chapter of this guide for
543 more information on how to use this directive.
544
545
546 H4: updateref <URL>
547
548 This directive is only applicable in a {{slave}} (or {{shadow}})
549 {{slapd}}(8) instance. It
550 specifies the URL to return to clients which submit update
551 requests upon the replica.
552 If specified multiple times, each {{TERM:URL}} is provided.
553
554 \Example:
555
556 >       updateref       ldap://master.example.net
557
558
559 H3: BDB and HDB Database Directives
560
561 Directives in this category only apply to both the {{TERM:BDB}}
562 and the {{TERM:HDB}} database.
563 That is, they must follow a "database bdb" or "database hdb" line
564 and come before any
565 subsequent "backend" or "database" line.  For a complete reference
566 of BDB/HDB configuration directives, see {{slapd-bdb}}(5).
567
568
569 H4: directory <directory>
570
571 This directive specifies the directory where the BDB files
572 containing the database and associated indices live.
573
574 \Default:
575
576 >       directory /usr/local/var/openldap-data
577
578
579 H2: Configuration File Example
580
581 The following is an example configuration file, interspersed
582 with explanatory text. It defines two databases to handle
583 different parts of the {{TERM:X.500}} tree; both are {{TERM:BDB}}
584 database instances. The line numbers shown are provided for
585 reference only and are not included in the actual file. First, the
586 global configuration section:
587
588 E:  1.    # example config file - global configuration section
589 E:  2.    include /usr/local/etc/schema/core.schema
590 E:  3.    referral ldap://root.openldap.org
591 E:  4.    access to * by * read
592  
593 Line 1 is a comment. Line 2 includes another config file
594 which contains {{core}} schema definitions.
595 The {{EX:referral}} directive on line 3
596 means that queries not local to one of the databases defined
597 below will be referred to the LDAP server running on the
598 standard port (389) at the host {{EX:root.openldap.org}}.
599
600 Line 4 is a global access control.  It applies to all
601 entries (after any applicable database-specific access
602 controls).
603
604 The next section of the configuration file defines a BDB
605 backend that will handle queries for things in the
606 "dc=example,dc=com" portion of the tree. The
607 database is to be replicated to two slave slapds, one on
608 truelies, the other on judgmentday. Indices are to be
609 maintained for several attributes, and the {{EX:userPassword}}
610 attribute is to be protected from unauthorized access.
611
612 E:  5.    # BDB definition for the example.com
613 E:  6.    database bdb
614 E:  7.    suffix "dc=example,dc=com"
615 E:  8.    directory /usr/local/var/openldap-data
616 E:  9.    rootdn "cn=Manager,dc=example,dc=com"
617 E: 10.    rootpw secret
618 E: 11.    # indexed attribute definitions
619 E: 12.    index uid pres,eq
620 E: 13.    index cn,sn pres,eq,approx,sub
621 E: 14.    index objectClass eq
622 E: 15.    # database access control definitions
623 E: 16.    access to attrs=userPassword
624 E: 17.        by self write
625 E: 18.        by anonymous auth
626 E: 19.        by dn.base="cn=Admin,dc=example,dc=com" write
627 E: 20.        by * none
628 E: 21.    access to *
629 E: 22.        by self write
630 E: 23.        by dn.base="cn=Admin,dc=example,dc=com" write
631 E: 24.        by * read
632
633 Line 5 is a comment. The start of the database definition is marked
634 by the database keyword on line 6. Line 7 specifies the DN suffix
635 for queries to pass to this database. Line 8 specifies the directory
636 in which the database files will live.
637
638 Lines 9 and 10 identify the database {{super-user}} entry and associated
639 password. This entry is not subject to access control or size or
640 time limit restrictions.
641
642 Lines 12 through 14 indicate the indices to maintain for various
643 attributes.
644
645 Lines 16 through 24 specify access control for entries in this
646 database. For all applicable entries, the {{EX:userPassword}} attribute is writable
647 by the entry itself and by the "admin" entry.  It may be used for
648 authentication/authorization purposes, but is otherwise not readable.
649 All other attributes are writable by the entry and the "admin"
650 entry, but may be read by all users (authenticated or not).
651
652 The next section of the example configuration file defines another
653 BDB database. This one handles queries involving the
654 {{EX:dc=example,dc=net}} subtree but is managed by the same entity
655 as the first database.  Note that without line 39, the read access
656 would be allowed due to the global access rule at line 4.
657
658 E: 33.    # BDB definition for example.net
659 E: 34.    database bdb
660 E: 35.    suffix "dc=example,dc=net"
661 E: 36.    directory /usr/local/var/openldap-data-net
662 E: 37.    rootdn "cn=Manager,dc=example,dc=com"
663 E: 38.    index objectClass eq
664 E: 39.    access to * by users read