O'Reilly logo

Mastering OpenLDAP by Matt Butcher

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required