Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| tutorial:ldap:syncopenldap [2016-04-13 22:53] – [Configure the Master] weichbr | tutorial:ldap:syncopenldap [2025-06-16 14:42] (current) – removed weichbr | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | {{tag> | ||
| - | ====== Configure OpenLDAP replication on Debian 8 (Jessie) ====== | ||
| - | |||
| - | ===== Requirements ===== | ||
| - | * Two Debian 8 installation with OpenLDAP | ||
| - | * A user account in the directory for the syncing | ||
| - | * This tutorial assumes '' | ||
| - | * First server is configured per [[tutorial: | ||
| - | * Other server is configured per [[tutorial: | ||
| - | |||
| - | ---- | ||
| - | |||
| - | ===== Notes ===== | ||
| - | * This tutorial show how to do master -> slave replication. Only the master will accept writes! | ||
| - | |||
| - | ---- | ||
| - | |||
| - | ===== Configure the Master ===== | ||
| - | * Give the sync account the necessary right to read everything. This includes passwords! | ||
| - | * Simply modify the '' | ||
| - | * Create a '' | ||
| - | * < | ||
| - | dn: cn=module{0}, | ||
| - | changetype: modify | ||
| - | add: olcModuleLoad | ||
| - | olcModuleLoad: | ||
| - | </ | ||
| - | * < | ||
| - | dn: olcOverlay=syncprov, | ||
| - | changetype: add | ||
| - | objectClass: | ||
| - | objectClass: | ||
| - | olcOverlay: syncprov | ||
| - | </ | ||
| - | * < | ||
| - | dn: olcDatabase={1}mdb, | ||
| - | changetype: modify | ||
| - | add: olcDbIndex | ||
| - | olcDbIndex: entryUUID, | ||
| - | </ | ||