Introduce configurable rid ("Replica ID"?) per database. This is needed for multi DB replication.

This commit is contained in:
Ossi Herrala 2013-02-07 12:26:24 +00:00
parent a1b6379b9a
commit d23e9995d6
2 changed files with 12 additions and 3 deletions

View file

@ -29,14 +29,14 @@ overlay syncprov
syncprov-checkpoint 100 10
syncprov-sessionlog 100
# The database directory MUST exist prior to running slapd AND
# The database directory MUST exist prior to running slapd AND
# should only be accessible by the slapd and slap tools.
# Mode 700 recommended.
directory /srv/ldap/<%= name %>
<% if master != "" -%>
# replication
syncrepl rid=2
syncrepl rid=<%= rid_real %>
provider=<%= master %>
type=refreshAndPersist
retry="10 10 60 +"