Configuring an LDAP Proxy
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.
Using the LDAP Backend
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 ...
Get Mastering OpenLDAP now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.