Sometimes, instead of replicating a directory information tree, it is desirable to proxy the communication with an LDAP directory. In this scenario a SLAPD server is configured to stand between clients and another LDAP server elsewhere on the network, and respond to client requests with directory information retrieved from the other LDAP server.
OpenLDAP supports a couple of different ways of configuring SLAPD to serve as a proxy.
One way of setting up proxying between two servers is to configure one server to use the
ldap backend (instead of BDB or HDB). The
ldap backend listens for requests and, when it gets them, transparently forwards the request to another LDAP server. For example, say we have ...