Configuring SyncRepl

The SLAPD server comes with all of the functionality necessary for implementing a shadow server, and the syncprov overlay provides the functionality for implementing a master server.

Note

SyncRepl was introduced in OpenLDAP 2.2, but configuration was significantly different. SyncRepl should be avoided in production environments running OpenLDAP 2.2.

Getting SyncRepl running requires configuration on both the master and the shadow server. The configuration directives for both are added to the backend sections of the slapd.conf files.

Configuring the Master Server

The first thing we will do is configure one server as a master. This server will listen for replication requests from our shadow server and will send updates as requested. ...

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.