.TH SLAPD-META 5 "RELEASEDATE" "OpenLDAP LDVERSION" .\" Copyright 1998-2007 The OpenLDAP Foundation, All Rights Reserved. .\" Copying restrictions apply. See the COPYRIGHT file. .\" Copyright 2001, Pierangelo Masarati, All rights reserved. .\" $OpenLDAP$ .\" .\" Portions of this document should probably be moved to slapd-ldap(5) .\" and maybe manual pages for librewrite. .\" .SH NAME slapd-meta \- metadirectory backend .SH SYNOPSIS ETCDIR/slapd.conf .SH DESCRIPTION The .B meta backend to .BR slapd (8) performs basic LDAP proxying with respect to a set of remote LDAP servers, called "targets". The information contained in these servers can be presented as belonging to a single Directory Information Tree (DIT). .LP A basic knowledge of the functionality of the .BR slapd\-ldap (5) backend is recommended. This backend has been designed as an enhancement of the ldap backend. The two backends share many features (actually they also share portions of code). While the .B ldap backend is intended to proxy operations directed to a single server, the .B meta backend is mainly intended for proxying of multiple servers and possibly naming context masquerading. 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. .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. .SH CONFIGURATION These .B slapd.conf options apply to the META backend database. That is, they must follow a "database meta" line and come before any subsequent "backend" or "database" lines. Other database options are described in the .BR slapd.conf (5) manual page. .LP Note: In early versions of back-ldap and back-meta it was recommended to always set .LP .RS .nf lastmod off .fi .RE .LP for .B ldap and .B meta 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 conn-ttl