]> git.sur5r.net Git - openldap/blob - doc/man/man5/slapd-ldap.5
ITS#8605 - spelling fixes
[openldap] / doc / man / man5 / slapd-ldap.5
1 .TH SLAPD-LDAP 5 "RELEASEDATE" "OpenLDAP LDVERSION"
2 .\" Copyright 1998-2017 The OpenLDAP Foundation All Rights Reserved.
3 .\" Copying restrictions apply.  See COPYRIGHT/LICENSE.
4 .\" $OpenLDAP$
5 .SH NAME
6 slapd\-ldap \- LDAP backend to slapd
7 .SH SYNOPSIS
8 ETCDIR/slapd.conf
9 .SH DESCRIPTION
10 The LDAP backend to
11 .BR slapd (8)
12 is not an actual database; instead it acts as a proxy to forward incoming
13 requests to another LDAP server. While processing requests it will also
14 chase referrals, so that referrals are fully processed instead of being
15 returned to the slapd client.
16
17 Sessions that explicitly Bind to the back-ldap database always create their
18 own private connection to the remote LDAP server. Anonymous sessions will
19 share a single anonymous connection to the remote server. For sessions bound
20 through other mechanisms, all sessions with the same DN will share the
21 same connection. This connection pooling strategy can enhance the proxy's
22 efficiency by reducing the overhead of repeatedly making/breaking multiple
23 connections.
24
25 The ldap database can also act as an information service, i.e. the identity
26 of locally authenticated clients is asserted to the remote server, possibly
27 in some modified form.
28 For this purpose, the proxy binds to the remote server with some 
29 administrative identity, and, if required, authorizes the asserted identity.
30 See the 
31 .IR idassert\- *
32 rules below.
33 The administrative identity of the proxy, on the remote server, must be 
34 allowed to authorize by means of appropriate
35 .B authzTo
36 rules; see 
37 .BR slapd.conf (5)
38 for details.
39
40 The proxy instance of
41 .BR slapd (8)
42 must contain schema information for the attributes and objectClasses
43 used in filters, request DNs and request-related data in general.
44 It should also contain schema information for the data returned
45 by the proxied server.
46 It is the responsibility of the proxy administrator to keep the schema
47 of the proxy lined up with that of the proxied server.
48
49 .LP
50 Note: When looping back to the same instance of
51 .BR slapd (8), 
52 each connection requires a new thread; as a consequence,
53 .BR slapd (8)
54 must be compiled with thread support, and the \fBthreads\fP parameter 
55 may need some tuning; in those cases, one may consider using 
56 .BR slapd\-relay (5)
57 instead, which performs the relayed operation 
58 internally and thus reuses the same connection.
59
60 .SH CONFIGURATION
61 These
62 .B slapd.conf
63 options apply to the LDAP backend database.
64 That is, they must follow a "database ldap" line and come before any
65 subsequent "backend" or "database" lines.
66 Other database options are described in the
67 .BR slapd.conf (5)
68 manual page.
69
70 .LP
71 Note: In early versions of back-ldap it was recommended to always set
72 .LP
73 .RS
74 .nf
75 lastmod  off
76 .fi
77 .RE
78 .LP
79 for 
80 .B ldap
81 and
82 .B meta
83 databases.
84 This was required because operational attributes related to entry creation 
85 and modification should not be proxied, as they could be mistakenly written
86 to the target server(s), generating an error.
87 The current implementation automatically sets lastmod to \fBoff\fP, 
88 so its use is redundant and should be omitted.
89
90 .TP
91 .B uri <ldapurl>
92 LDAP server to use.  Multiple URIs can be set in a single
93 .B ldapurl
94 argument, resulting in the underlying library automatically 
95 calling the first server of the list that responds, e.g.
96
97 \fBuri "ldap://host/ ldap://backup\-host/"\fP
98
99 The URI list is space- or comma-separated.
100 Whenever the server that responds is not the first one in the list,
101 the list is rearranged and the responsive server is moved to the head,
102 so that it will be first contacted the next time a connection
103 needs to be created.
104 .HP
105 .hy 0
106 .B acl\-bind
107 .B bindmethod=simple|sasl [binddn=<simple DN>] [credentials=<simple password>]
108 .B [saslmech=<SASL mech>] [secprops=<properties>] [realm=<realm>]
109 .B [authcId=<authentication ID>] [authzId=<authorization ID>]
110 .B [starttls=no|yes|critical]
111 .B [tls_cert=<file>]
112 .B [tls_key=<file>]
113 .B [tls_cacert=<file>]
114 .B [tls_cacertdir=<path>]
115 .B [tls_reqcert=never|allow|try|demand]
116 .B [tls_cipher_suite=<ciphers>]
117 .B [tls_protocol_min=<major>[.<minor>]]
118 .B [tls_crlcheck=none|peer|all]
119 .RS
120 Allows one to define the parameters of the authentication method that is
121 internally used by the proxy to collect info related to access control,
122 and whenever an operation occurs with the identity of the rootdn
123 of the LDAP proxy database.
124 The identity defined by this directive, according to the properties
125 associated to the authentication method, is supposed to have read access 
126 on the target server to attributes used on the proxy for ACL checking.
127
128 There is no risk of giving away such values; they are only used to
129 check permissions.
130 The default is to use
131 .BR simple 
132 bind, with empty \fIbinddn\fP and \fIcredentials\fP,
133 which means that the related operations will be performed anonymously.
134 If not set, and if \fBidassert\-bind\fP is defined, this latter identity
135 is used instead.  See \fBidassert\-bind\fP for details.
136
137 The connection between the proxy database and the remote server
138 associated to this identity is cached regardless of the lifespan
139 of the client-proxy connection that first established it.
140
141 .B This identity is not implicitly used by the proxy
142 .B when the client connects anonymously.
143 The
144 .B idassert\-bind
145 feature, instead, in some cases can be crafted to implement that behavior,
146 which is \fIintrinsically unsafe and should be used with extreme care\fP.
147 This directive obsoletes
148 .BR acl\-authcDN ,
149 and
150 .BR acl\-passwd .
151
152 The TLS settings default to the same as the main slapd TLS settings,
153 except for
154 .B tls_reqcert
155 which defaults to "demand".
156 .RE
157
158 .TP
159 .B cancel {ABANDON|ignore|exop[\-discover]}
160 Defines how to handle operation cancellation.
161 By default,
162 .B abandon
163 is invoked, so the operation is abandoned immediately.
164 If set to
165 .BR ignore ,
166 no action is taken and any further response is ignored; this may result
167 in further response messages to be queued for that connection, so it is
168 recommended that long lasting connections are timed out either by
169 .I idle\-timeout
170 or
171 .IR conn\-ttl ,
172 so that resources eventually get released.
173 If set to
174 .BR exop ,
175 a
176 .I cancel
177 operation (RFC 3909) is issued, resulting in the cancellation 
178 of the current operation; the
179 .I cancel
180 operation waits for remote server response, so its use 
181 may not be recommended.
182 If set to
183 .BR exop\-discover ,
184 support of the
185 .I cancel 
186 extended operation is detected by reading the remote server's root DSE.
187
188 .TP
189 .B chase\-referrals {YES|no}
190 enable/disable automatic referral chasing, which is delegated to the
191 underlying libldap, with rebinding eventually performed if the
192 \fBrebind\-as\-user\fP directive is used.  The default is to chase referrals.
193
194 .TP
195 .B conn\-ttl <time>
196 This directive causes a cached connection to be dropped and recreated
197 after a given ttl, regardless of being idle or not.
198
199 .TP
200 .B idassert\-authzFrom <authz-regexp>
201 if defined, selects what
202 .I local
203 identities are authorized to exploit the identity assertion feature.
204 The string
205 .B <authz-regexp>
206 follows the rules defined for the
207 .I authzFrom
208 attribute.
209 See 
210 .BR slapd.conf (5),
211 section related to
212 .BR authz\-policy ,
213 for details on the syntax of this field.
214
215 .HP
216 .hy 0
217 .B idassert\-bind
218 .B bindmethod=none|simple|sasl [binddn=<simple DN>] [credentials=<simple password>]
219 .B [saslmech=<SASL mech>] [secprops=<properties>] [realm=<realm>]
220 .B [authcId=<authentication ID>] [authzId=<authorization ID>]
221 .B [authz={native|proxyauthz}] [mode=<mode>] [flags=<flags>]
222 .B [starttls=no|yes|critical]
223 .B [tls_cert=<file>]
224 .B [tls_key=<file>]
225 .B [tls_cacert=<file>]
226 .B [tls_cacertdir=<path>]
227 .B [tls_reqcert=never|allow|try|demand]
228 .B [tls_cipher_suite=<ciphers>]
229 .B [tls_protocol_min=<version>]
230 .B [tls_crlcheck=none|peer|all]
231 .RS
232 Allows one to define the parameters of the authentication method that is
233 internally used by the proxy to authorize connections that are 
234 authenticated by other databases.
235 Direct binds are always proxied without any idassert handling.
236
237 The identity defined by this directive, according to the properties
238 associated to the authentication method, is supposed to have auth access 
239 on the target server to attributes used on the proxy for authentication
240 and authorization, and to be allowed to authorize the users.
241 This requires to have
242 .B proxyAuthz
243 privileges on a wide set of DNs, e.g.
244 .BR authzTo=dn.subtree:"" ,
245 and the remote server to have
246 .B authz\-policy
247 set to
248 .B to
249 or
250 .BR both .
251 See
252 .BR slapd.conf (5)
253 for details on these statements and for remarks and drawbacks about
254 their usage.
255 The supported bindmethods are
256
257 \fBnone|simple|sasl\fP
258
259 where
260 .B none
261 is the default, i.e. no \fIidentity assertion\fP is performed.
262
263 The authz parameter is used to instruct the SASL bind to exploit 
264 .B native 
265 SASL authorization, if available; since connections are cached,
266 this should only be used when authorizing with a fixed identity
267 (e.g. by means of the 
268 .B authzDN
269 or
270 .B authzID
271 parameters).
272 Otherwise, the default
273 .B proxyauthz
274 is used, i.e. the proxyAuthz control (Proxied Authorization, RFC 4370)
275 is added to all operations.
276
277 The supported modes are:
278
279 \fB<mode> := {legacy|anonymous|none|self}\fP
280
281 If 
282 .B <mode>
283 is not present, and 
284 .B authzId
285 is given, the proxy always authorizes that identity.
286 .B <authorization ID>
287 can be 
288
289 \fBu:<user>\fP
290
291 \fB[dn:]<DN>\fP
292
293 The former is supposed to be expanded by the remote server according 
294 to the authz rules; see
295 .BR slapd.conf (5)
296 for details.
297 In the latter case, whether or not the 
298 .B dn:
299 prefix is present, the string must pass DN validation and normalization.
300
301 The default mode is 
302 .BR legacy ,
303 which implies that the proxy will either perform a simple bind as the
304 .I authcDN
305 or a SASL bind as the
306 .I authcID
307 and assert the client's identity when it is not anonymous.
308 The other modes imply that the proxy will always either perform a simple bind 
309 as the
310 .IR authcDN
311 or a SASL bind as the
312 .IR authcID ,
313 unless restricted by
314 .BR idassert\-authzFrom
315 rules (see below), in which case the operation will fail;
316 eventually, it will assert some other identity according to
317 .BR <mode> .
318 Other identity assertion modes are
319 .BR anonymous
320 and
321 .BR self ,
322 which respectively mean that the 
323 .I empty 
324 or the 
325 .IR client 's 
326 identity
327 will be asserted;
328 .BR none ,
329 which means that no proxyAuthz control will be used, so the
330 .I authcDN
331 or the
332 .I authcID
333 identity will be asserted.
334 For all modes that require the use of the
335 .I proxyAuthz 
336 control, on the remote server the proxy identity must have appropriate 
337 .I authzTo
338 permissions, or the asserted identities must have appropriate
339 .I authzFrom 
340 permissions.  Note, however, that the ID assertion feature is mostly 
341 useful when the asserted identities do not exist on the remote server.
342
343 Flags can be
344
345 \fBoverride,[non\-]prescriptive,proxy\-authz\-[non\-]critical,dn\-{authzid|whoami}\fP
346
347 When the 
348 .B override
349 flag is used, identity assertion takes place even when the database
350 is authorizing for the identity of the client, i.e. after binding
351 with the provided identity, and thus authenticating it, the proxy
352 performs the identity assertion using the configured identity and
353 authentication method.
354
355 When the
356 .B prescriptive
357 flag is used (the default), operations fail with
358 \fIinappropriateAuthentication\fP
359 for those identities whose assertion is not allowed by the
360 .B idassert\-authzFrom
361 patterns.
362 If the 
363 .B non\-prescriptive
364 flag is used, operations are performed anonymously for those identities 
365 whose assertion is not allowed by the
366 .B idassert\-authzFrom
367 patterns.
368
369 When the
370 .B proxy\-authz\-non\-critical
371 flag is used (the default), the proxyAuthz control is not marked as critical,
372 in violation of RFC 4370.  Use of
373 .B proxy\-authz\-critical
374 is recommended.
375
376 When the
377 .B dn\-authzid
378 flag is used, RFC 3829 LDAP Authorization Identity Controls
379 is used to retrieve the identity associated to the SASL identity;
380 when the
381 .B dn\-whoami
382 flag is used, RFC 4532 LDAP Who am I? Operation is performed
383 after the bind for the same purpose.
384
385 The TLS settings default to the same as the main slapd TLS settings,
386 except for
387 .B tls_reqcert
388 which defaults to "demand".
389
390 The identity associated to this directive is also used for privileged
391 operations whenever \fBidassert\-bind\fP is defined and \fBacl\-bind\fP
392 is not.  See \fBacl\-bind\fP for details.
393
394 This directive obsoletes
395 .BR idassert\-authcDN ,
396 .BR idassert\-passwd ,
397 .BR idassert\-mode ,
398 and
399 .BR idassert\-method .
400 .RE
401
402 .TP
403 .B idassert-passthru <authz-regexp>
404 if defined, selects what
405 .I local
406 identities bypass the identity assertion feature.
407 Those identities need to be known by the remote host.
408 The string
409 .B <authz-regexp>
410 follows the rules defined for the
411 .I authzFrom
412 attribute.
413 See 
414 .BR slapd.conf (5),
415 section related to
416 .BR authz\-policy ,
417 for details on the syntax of this field.
418
419
420 .TP
421 .B idle\-timeout <time>
422 This directive causes a cached connection to be dropped an recreated
423 after it has been idle for the specified time.
424
425 .TP
426 .B keepalive  <idle>:<probes>:<interval>
427 The
428 .B keepalive
429 parameter sets the values of \fIidle\fP, \fIprobes\fP, and \fIinterval\fP
430 used to check whether a socket is alive;
431 .I idle
432 is the number of seconds a connection needs to remain idle before TCP
433 starts sending keepalive probes;
434 .I probes
435 is the maximum number of keepalive probes TCP should send before dropping
436 the connection;
437 .I interval
438 is interval in seconds between individual keepalive probes.
439 Only some systems support the customization of these values;
440 the
441 .B keepalive
442 parameter is ignored otherwise, and system-wide settings are used.
443
444 .TP
445 .B network\-timeout <time>
446 Sets the network timeout value after which
447 .BR poll (2)/ select (2) 
448 following a 
449 .BR connect (2) 
450 returns in case of no activity.
451 The value is in seconds, and it can be specified as for
452 .BR idle\-timeout .
453
454 .TP
455 .B norefs <NO|yes>
456 If
457 .BR yes ,
458 do not return search reference responses.
459 By default, they are returned unless request is LDAPv2.
460
461 .TP
462 .B omit-unknown-schema <NO|yes>
463 If
464 .BR yes ,
465 do not return objectClasses or attributes that are not known to the local server.
466 The default is to return all schema elements.
467
468 .TP
469 .B noundeffilter <NO|yes>
470 If
471 .BR yes ,
472 return success instead of searching if a filter is undefined or contains
473 undefined portions.
474 By default, the search is propagated after replacing undefined portions
475 with
476 .BR (!(objectClass=*)) ,
477 which corresponds to the empty result set.
478
479 .TP
480 .B onerr {CONTINUE|stop}
481 This directive allows one to select the behavior in case an error is returned
482 by the remote server during a search.
483 The default, \fBcontinue\fP, consists in returning success.
484 If the value is set to \fBstop\fP, the error is returned to the client.
485
486 .TP
487 .B protocol\-version {0,2,3}
488 This directive indicates what protocol version must be used to contact
489 the remote server.
490 If set to 0 (the default), the proxy uses the same protocol version 
491 used by the client, otherwise the requested protocol is used.
492 The proxy returns \fIunwillingToPerform\fP if an operation that is 
493 incompatible with the requested protocol is attempted.
494
495 .TP
496 .B proxy\-whoami {NO|yes}
497 Turns on proxying of the WhoAmI extended operation. If this option is
498 given, back-ldap will replace slapd's original WhoAmI routine with its
499 own. On slapd sessions that were authenticated by back-ldap, the WhoAmI
500 request will be forwarded to the remote LDAP server. Other sessions will
501 be handled by the local slapd, as before. This option is mainly useful
502 in conjunction with Proxy Authorization.
503
504 .TP
505 .B quarantine <interval>,<num>[;<interval>,<num>[...]]
506 Turns on quarantine of URIs that returned
507 .IR LDAP_UNAVAILABLE ,
508 so that an attempt to reconnect only occurs at given intervals instead
509 of any time a client requests an operation.
510 The pattern is: retry only after at least
511 .I interval
512 seconds elapsed since last attempt, for exactly
513 .I num
514 times; then use the next pattern.
515 If
516 .I num
517 for the last pattern is "\fB+\fP", it retries forever; otherwise, 
518 no more retries occur.
519 The process can be restarted by resetting the \fIolcDbQuarantine\fP
520 attribute of the database entry in the configuration backend.
521
522 .TP
523 .B rebind\-as\-user {NO|yes}
524 If this option is given, the client's bind credentials are remembered
525 for rebinds, when trying to re-establish a broken connection,
526 or when chasing a referral, if 
527 .B chase\-referrals
528 is set to
529 .IR yes .
530
531 .TP
532 .B session\-tracking\-request {NO|yes}
533 Adds session tracking control for all requests.
534 The client's IP and hostname, and the identity associated to each request,
535 if known, are sent to the remote server for informational purposes.
536 This directive is incompatible with setting \fIprotocol\-version\fP to 2.
537
538 .TP
539 .B single\-conn {NO|yes}
540 Discards current cached connection when the client rebinds.
541
542 .TP
543 .B t\-f\-support {NO|yes|discover}
544 enable if the remote server supports absolute filters
545 (see \fIRFC 4526\fP for details).
546 If set to
547 .BR discover ,
548 support is detected by reading the remote server's root DSE.
549
550 .TP
551 .B timeout [<op>=]<val> [...]
552 This directive allows one to set per-operation timeouts.
553 Operations can be
554
555 \fB<op> ::= bind, add, delete, modrdn, modify, compare, search\fP
556
557 The overall duration of the \fBsearch\fP operation is controlled either
558 by the \fBtimelimit\fP parameter or by server-side enforced
559 time limits (see \fBtimelimit\fP and \fBlimits\fP in
560 .BR slapd.conf (5)
561 for details).
562 This \fBtimeout\fP parameter controls how long the target can be 
563 irresponsive before the operation is aborted.
564 Timeout is meaningless for the remaining operations,
565 \fBunbind\fP and \fBabandon\fP, which do not imply any response,
566 while it is not yet implemented in currently supported \fBextended\fP 
567 operations.
568 If no operation is specified, the timeout \fBval\fP affects all
569 supported operations.
570
571 Note: if the timelimit is exceeded, the operation is cancelled
572 (according to the \fBcancel\fP directive);
573 the protocol does not provide any means to rollback operations,
574 so the client will not be notified about the result of the operation,
575 which may eventually succeeded or not.
576 In case the timeout is exceeded during a bind operation, the connection
577 is destroyed, according to RFC4511.
578
579 Note: in some cases, this backend may issue binds prior
580 to other operations (e.g. to bind anonymously or with some prescribed
581 identity according to the \fBidassert\-bind\fP directive).
582 In this case, the timeout of the operation that resulted in the bind
583 is used.
584
585 .HP
586 .hy 0
587 .B tls {[try\-]start|[try\-]propagate|ldaps}
588 .B [tls_cert=<file>]
589 .B [tls_key=<file>]
590 .B [tls_cacert=<file>]
591 .B [tls_cacertdir=<path>]
592 .B [tls_reqcert=never|allow|try|demand]
593 .B [tls_cipher_suite=<ciphers>]
594 .B [tls_crlcheck=none|peer|all]
595 .RS
596 Specify the use of TLS when a regular connection is initialized. The
597 StartTLS extended operation will be used unless the URI directive protocol
598 scheme is \fBldaps://\fP. In that case this keyword may only be
599 set to "ldaps" and the StartTLS operation will not be used.
600 \fBpropagate\fP issues the StartTLS operation only if the original
601 connection did.
602 The \fBtry\-\fP prefix instructs the proxy to continue operations
603 if the StartTLS operation failed; its use is \fBnot\fP recommended.
604
605 The TLS settings default to the same as the main slapd TLS settings,
606 except for
607 .B tls_reqcert
608 which defaults to "demand".
609 .RE
610
611 .TP
612 .B use\-temporary\-conn {NO|yes}
613 when set to 
614 .BR yes ,
615 create a temporary connection whenever competing with other threads
616 for a shared one; otherwise, wait until the shared connection is available.
617
618 .SH BACKWARD COMPATIBILITY
619 The LDAP backend has been heavily reworked between releases 2.2 and 2.3,
620 and subsequently between 2.3 and 2.4.
621 As a side-effect, some of the traditional directives have been
622 deprecated and should be no longer used, as they might disappear
623 in future releases.
624
625 .TP
626 .B acl\-authcDN "<administrative DN for access control purposes>"
627 Formerly known as the
628 .BR binddn ,
629 it is the DN that is used to query the target server for acl checking;
630 it is supposed to have read access on the target server to attributes used
631 on the proxy for acl checking.
632 There is no risk of giving away such values; they are only used to
633 check permissions.
634
635 .B The acl\-authcDN identity is by no means implicitly used by the proxy 
636 .B when the client connects anonymously.
637 The
638 .B idassert\-*
639 feature can be used (at own risk) for that purpose instead.
640
641 This directive is obsoleted by the
642 .B binddn
643 arg of
644 .B acl\-bind
645 when \fIbindmethod\fP=\fBsimple\fP, and will be dismissed in the future.
646
647 .TP
648 .B acl\-passwd <password>
649 Formerly known as the
650 .BR bindpw ,
651 it is the password used with the above
652 .B acl\-authcDN
653 directive.
654 This directive is obsoleted by the
655 .B credentials
656 arg of
657 .B acl\-bind
658 when \fIbindmethod\fP=\fBsimple\fP, and will be dismissed in the future.
659
660 .TP
661 .B idassert\-authcDN "<administrative DN for proxyAuthz purposes>"
662 DN which is used to propagate the client's identity to the target
663 by means of the proxyAuthz control when the client does not
664 belong to the DIT fragment that is being proxied by back-ldap.
665 This directive is obsoleted by the
666 .B binddn
667 arg of
668 .BR idassert\-bind
669 when \fIbindmethod\fP=\fBsimple\fP, and will be dismissed in the future.
670
671 .TP
672 .B idassert\-passwd <password>
673 Password used with the
674 .B idassert\-authcDN
675 above.
676 This directive is obsoleted by the
677 .B credentials
678 arg of
679 .B idassert\-bind
680 when \fIbindmethod\fP=\fBsimple\fP, and will be dismissed in the future.
681
682 .TP
683 .B idassert\-mode <mode> [<flags>]
684 defines what type of
685 .I identity assertion
686 is used.
687 This directive is obsoleted by the
688 .B mode
689 arg of 
690 .BR idassert\-bind ,
691 and will be dismissed in the future.
692
693 .TP
694 .B idassert\-method <method> [<saslargs>]
695 This directive is obsoleted by the
696 .B bindmethod
697 arg of
698 .BR idassert\-bind ,
699 and will be dismissed in the future.
700
701 .TP
702 .B port <port>
703 this directive is no longer supported.  Use the 
704 .B uri
705 directive as described above.
706
707 .TP
708 .B server <hostname[:port]>
709 this directive is no longer supported.  Use the 
710 .B uri
711 directive as described above.
712
713 .TP
714 .B suffixmassage, map, rewrite*
715 These directives are no longer supported by back-ldap; their 
716 functionality is now delegated to the
717 .B rwm
718 overlay.  Essentially, add a statement
719
720 .B overlay rwm
721
722 first, and prefix all rewrite/map statements with
723 .B rwm\-
724 to obtain the original behavior.
725 See
726 .BR slapo\-rwm (5)
727 for details.
728 .\" However, to ease update from existing configurations, back-ldap still 
729 .\" recognizes them and automatically instantiates the
730 .\" .B rwm
731 .\" overlay if available and not instantiated yet.
732 .\" This behavior may change in the future.
733
734 .SH ACCESS CONTROL
735 The
736 .B ldap
737 backend does not honor all ACL semantics as described in
738 .BR slapd.access (5).
739 In general, access checking is delegated to the remote server(s).
740 Only
741 .B read (=r)
742 access to the
743 .B entry
744 pseudo-attribute and to the other attribute values of the entries
745 returned by the
746 .B search
747 operation is honored, which is performed by the frontend.
748
749 .SH OVERLAYS
750 The LDAP backend provides basic proxying functionalities to many overlays.
751 The 
752 .B chain
753 overlay, described in
754 .BR slapo\-chain (5),
755 and the
756 .B translucent
757 overlay, described in
758 .BR slapo\-translucent (5),
759 deserve a special mention.
760
761 Conversely, there are many overlays that are best used in conjunction
762 with the LDAP backend.
763 The
764 .B proxycache 
765 overlay allows caching of LDAP search requests (queries) 
766 in a local database.
767 See 
768 .BR slapo\-pcache (5)
769 for details.
770 The
771 .B rwm
772 overlay provides DN rewrite and attribute/objectClass mapping
773 capabilities to the underlying database.
774 See 
775 .BR slapo\-rwm (5)
776 for details.
777
778 .SH FILES
779 .TP
780 ETCDIR/slapd.conf
781 default slapd configuration file
782 .SH SEE ALSO
783 .BR slapd.conf (5),
784 .BR slapd\-config (5),
785 .BR slapd\-meta (5),
786 .BR slapo\-chain (5),
787 .BR slapo\-pcache (5),
788 .BR slapo\-rwm (5),
789 .BR slapo\-translucent (5),
790 .BR slapd (8),
791 .BR ldap (3).
792 .SH AUTHOR
793 Howard Chu, with enhancements by Pierangelo Masarati