2018-03-03 20:06:20 +01:00
|
|
|
dn: olcDatabase={1}hdb,cn=config
|
|
|
|
changetype: modify
|
|
|
|
add: olcDbIndex
|
|
|
|
olcDbIndex: entryUUID eq
|
|
|
|
-
|
|
|
|
add: olcSyncRepl
|
|
|
|
olcSyncRepl: rid={{ openldap_slave_id | default(001) }}
|
|
|
|
provider={{ openldap_master_ldap_uri }}
|
|
|
|
bindmethod=simple
|
|
|
|
binddn="cn={{ openldap_replica_user }},{{ openldap_base_dn }}"
|
|
|
|
credentials={{ slapd_replica_pwd }}
|
|
|
|
searchbase="{{ openldap_slave_search_base }}"
|
|
|
|
logbase="cn=accesslog"
|
|
|
|
schemachecking=on
|
|
|
|
type={{ openldap_slave_sync_type }}
|
|
|
|
retry="60 +"
|
|
|
|
interval={{ openldap_slave_sync_interval }}
|
2018-03-30 16:01:47 +02:00
|
|
|
starttls="{{ openldap_slave_tls_starttls }}"
|
2018-03-03 20:06:20 +01:00
|
|
|
syncdata={{ openldap_slave_syncdata_type }}
|
|
|
|
-
|
|
|
|
add: olcUpdateRef
|
|
|
|
olcUpdateRef: {{ openldap_master_ldap_uri }}
|
|
|
|
|