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] weichbr [Configure the Master] |
tutorial:ldap:syncopenldap [2018-06-03 14:10] (current) |
||
---|---|---|---|
Line 13: | Line 13: | ||
===== Notes ===== | ===== Notes ===== | ||
- | * This tutorial | + | * This tutorial |
---- | ---- | ||
Line 19: | Line 19: | ||
===== Configure the Master ===== | ===== Configure the Master ===== | ||
* Give the sync account the necessary right to read everything. This includes passwords! | * Give the sync account the necessary right to read everything. This includes passwords! | ||
- | * Simply modify the '' | + | * Simply modify the '' |
* Create a '' | * Create a '' | ||
* < | * < | ||
Line 26: | Line 26: | ||
add: olcModuleLoad | add: olcModuleLoad | ||
olcModuleLoad: | olcModuleLoad: | ||
+ | </ | ||
+ | * < | ||
+ | dn: olcDatabase={1}mdb, | ||
+ | changetype: modify | ||
+ | add: olcDbIndex | ||
+ | olcDbIndex: entryUUID, | ||
</ | </ | ||
* < | * < | ||
Line 33: | Line 39: | ||
objectClass: | objectClass: | ||
olcOverlay: syncprov | olcOverlay: syncprov | ||
- | </ | ||
- | * < | ||
- | dn: olcDatabase={1}mdb, | ||
- | changetype: modify | ||
- | add: olcDbIndex | ||
- | olcDbIndex: entryUUID, | ||
</ | </ | ||
* Apply them in that order with '' | * Apply them in that order with '' | ||
Line 45: | Line 45: | ||
===== Configure the Slave ===== | ===== Configure the Slave ===== | ||
+ | * Also apply the '' | ||
+ | * Create a '' | ||
+ | * < | ||
+ | dn: olcDatabase={1}mdb, | ||
+ | changetype: modify | ||
+ | add: olcSyncRepl | ||
+ | olcSyncRepl: | ||
+ | provider=ldap:// | ||
+ | bindmethod=simple | ||
+ | binddn=" | ||
+ | credentials=syncaccountpassword | ||
+ | searchbase=" | ||
+ | scope=sub | ||
+ | schemachecking=on | ||
+ | type=refreshAndPersist | ||
+ | retry=" | ||
+ | interval=00: | ||
+ | starttls=yes | ||
+ | tls_reqcert=allow | ||
+ | </ | ||
+ | * Apply it with '' |