Appendix F

Playing with Replication in OpenLDAP

In this section, we will have a brief look at implementing replication with OpenLDAP. In Chapter 5, I discussed what replication is; in this section, you will have a practical example of how it works. I will implement two LDAP servers: a master server and a slave server. Because not everyone has two computers at their disposal, I have put the master and the slave server on the same machine.

LDAP uses two server daemons to implement a master server: (1) the stand-alone LDAP server daemon called “slapd” and (2) the standalone replication daemon called “slurpd.”

When you compile OpenLDAP, you should run the configure script using the switch –enable slurpd, which tells the configure utility to prepare ...

Get The ABCs of LDAP 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.