X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=doc%2Fman%2Fman5%2Fslapd-meta.5;h=92a694ea72c059fb6b658545bd90d4487354afbf;hb=9d2e03f0527b31ac2fc994fddb7d858d010d566d;hp=c080555d22679d5027e2beb76910ccb87948ecf5;hpb=c860ba6a235bd9d51b4117babf1de2445a508559;p=openldap diff --git a/doc/man/man5/slapd-meta.5 b/doc/man/man5/slapd-meta.5 index c080555d22..92a694ea72 100644 --- a/doc/man/man5/slapd-meta.5 +++ b/doc/man/man5/slapd-meta.5 @@ -1,5 +1,5 @@ .TH SLAPD-META 5 "RELEASEDATE" "OpenLDAP LDVERSION" -.\" Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved. +.\" Copyright 1998-2010 The OpenLDAP Foundation, All Rights Reserved. .\" Copying restrictions apply. See the COPYRIGHT file. .\" Copyright 2001, Pierangelo Masarati, All rights reserved. .\" $OpenLDAP$ @@ -8,7 +8,7 @@ .\" and maybe manual pages for librewrite. .\" .SH NAME -slapd-meta \- metadirectory backend +slapd\-meta \- metadirectory backend to slapd .SH SYNOPSIS ETCDIR/slapd.conf .SH DESCRIPTION @@ -37,9 +37,28 @@ These features, although useful in many scenarios, may result in excessive overhead for some applications, so its use should be carefully considered. In the examples section, some typical scenarios will be discussed. + +The proxy instance of +.BR slapd (8) +must contain schema information for the attributes and objectClasses +used in filters, request DN and request-related data in general. +It should also contain schema information for the data returned +by the proxied server. +It is the responsibility of the proxy administrator to keep the schema +of the proxy lined up with that of the proxied server. + +.LP +Note: When looping back to the same instance of \fBslapd\fP(8), +each connection requires a new thread; as a consequence, \fBslapd\fP(8) +must be compiled with thread support, and the \fBthreads\fP parameter +may need some tuning; in those cases, unless the multiple target feature +is required, one may consider using \fBslapd\-relay\fP(5) instead, +which performs the relayed operation internally and thus reuses +the same connection. + .SH EXAMPLES There are examples in various places in this document, as well as in the -slapd/back-meta/data/ directory in the OpenLDAP source tree. +slapd/back\-meta/data/ directory in the OpenLDAP source tree. .SH CONFIGURATION These .B slapd.conf @@ -50,33 +69,39 @@ Other database options are described in the .BR slapd.conf (5) manual page. .LP -Note: as with the -.B ldap -backend, operational attributes related to entry creation/modification -should not be used, as they would be passed to the target servers, -generating an error. -Moreover, it makes little sense to use such attributes in proxying, as -the proxy server doesn't actually store data, so it should have no -knowledge of such attributes. -While code to strip the modification attributes has been put in place -(and #ifdef'd), it implies unmotivated overhead. -So it is strongly recommended to set +Note: In early versions of back-ldap and back-meta it was recommended to always set +.LP .RS +.nf lastmod off +.fi .RE -for every +.LP +for .B ldap and .B meta -backend. +databases. +This was required because operational attributes related to entry creation +and modification should not be proxied, as they could be mistakenly written +to the target server(s), generating an error. +The current implementation automatically sets lastmod to \fBoff\fP, +so its use is redundant and should be omitted. + .SH SPECIAL CONFIGURATION DIRECTIVES Target configuration starts with the "uri" directive. All the configuration directives that are not specific to targets should be defined first for clarity, including those that are common to all backends. They are: + .TP -.B default-target none +.B conn\-ttl