]> git.sur5r.net Git - openldap/blob - doc/man/man5/slapo-translucent.5
clarify remote database; clarify ACLs
[openldap] / doc / man / man5 / slapo-translucent.5
1 .TH SLAPO-TRANSLUCENT 5 "RELEASEDATE" "OpenLDAP LDVERSION"
2 .\" Copyright 2004-2008 The OpenLDAP Foundation All Rights Reserved.
3 .\" Copying restrictions apply.  See COPYRIGHT/LICENSE.
4 .\" $OpenLDAP$
5 .SH NAME
6 slapo-translucent \- Translucent Proxy overlay to slapd
7 .SH SYNOPSIS
8 ETCDIR/slapd.conf
9 .SH DESCRIPTION
10 The Translucent Proxy overlay can be used with a backend database such as
11 .BR slapd-bdb (5)
12 to create a "translucent proxy".  Entries retrieved from a remote LDAP
13 server may have some or all attributes overridden, or new attributes
14 added, by entries in the local database before being presented to the
15 client.
16 .LP
17 A
18 .BR search
19 operation is first populated with entries from the remote LDAP server, the
20 attributes of which are then overridden with any attributes defined in the
21 local database. Local overrides may be populated with the
22 .BR add ,
23 .B modify ,
24 and
25 .B modrdn
26 operations, the use of which is restricted to the root user.
27 .LP
28 A
29 .BR compare
30 operation will perform a comparison with attributes defined in the local
31 database record (if any) before any comparison is made with data in the
32 remote database.
33 .SH CONFIGURATION
34 The Translucent Proxy overlay uses a proxied database,
35 typically a (set of) remote LDAP server(s), which is configured with the options shown in
36 .BR slapd-ldap (5),
37 .BR slapd-meta (5)
38 or similar.
39 These
40 .B slapd.conf
41 options are specific to the Translucent Proxy overlay; they must appear 
42 after the
43 .B overlay
44 directive that instantiates the
45 .B translucent
46 overlay.
47 .TP
48 .B translucent_strict
49 By default, attempts to delete attributes in either the local or remote
50 databases will be silently ignored. The
51 .B translucent_strict
52 directive causes these modifications to fail with a Constraint Violation.
53 .TP
54 .B translucent_no_glue
55 This configuration option disables the automatic creation of "glue" records
56 for an
57 .B add
58 or
59 .B modrdn
60 operation, such that all parents of an entry added to the local database
61 must be created by hand. Glue records are always created for a
62 .B modify
63 operation.
64 .TP
65 .B translucent_local <attr[,attr...]>
66 Specify a list of attributes that should be searched for in the local database
67 when used in a search filter. By default, search filters are only handled by
68 the remote database. With this directive, search filters will be split into a
69 local and remote portion, and local attributes will be searched locally.
70 .TP
71 .B translucent_remote <attr[,attr...]>
72 Specify a list of attributes that should be searched for in the remote database
73 when used in a search filter. This directive complements the
74 .B translucent_local
75 directive. Attributes may be specified as both local and remote if desired.
76 .LP
77 If neither
78 .B translucent_local
79 nor
80 .B translucent_remote
81 are specified, the default behavior is to search the remote database with the
82 complete search filter. If only
83 .B translucent_local
84 is specified, searches will only be run on the local database. Likewise, if only
85 .B translucent_remote
86 is specified, searches will only be run on the remote database. In any case, both
87 the local and remote entries corresponding to a search result will be merged
88 before being returned to the client.
89
90 .TP
91 .B translucent_bind_local 
92 Enable looking for locally stored credentials for simple bind when binding
93 to the remote database fails.
94
95 .SH ACCESS CONTROL
96 Access control is delegated to either the remote DSA(s) or to the local database
97 backend for
98 .B auth
99 and
100 .B write
101 operations.
102 It is delegated to the remote DSA(s) and to the frontend for
103 .B read
104 operations.
105 Local access rules involving data returned by the remote DSA(s) should be designed
106 with care.  In fact, entries are returned by the remote DSA(s) only based on the
107 remote fraction of the data, based on the identity the operation is performed as.
108 As a consequence, local rules might only be allowed to see a portion
109 of the remote data.
110
111 .SH CAVEATS
112 .LP
113 The Translucent Proxy overlay will disable schema checking in the local database,
114 so that an entry consisting of overlay attributes need not adhere to the
115 complete schema.
116 .LP
117 Because the translucent overlay does not perform any DN rewrites,  the local
118 and remote database instances must have the same suffix.  Other configurations
119 will probably fail with No Such Object and other errors.
120 .SH FILES
121 .TP
122 ETCDIR/slapd.conf
123 default slapd configuration file
124 .SH SEE ALSO
125 .BR slapd.conf (5),
126 .BR slapd-ldap (5).