New version
dn: olcDatabase={1}mdb,cn=config
changetype: modify
add: olcSyncRepl
olcSyncRepl: rid=001
provider=ldaps://ldap1.domain.com
searchbase=«dc=domain,dc=com"
bindmethod=simple
binddn="cn=admin,dc=domain,dc=com"
credentials=5fX?BLR2
tls_reqcert=allow
type=refreshAndPersist
retry="30+
timeout=1
olcSyncRepl: rid=002
provider=ldaps://ldap2.domain.com
searchbase=«dc=domain,dc=com"
bindmethod=simple
binddn="cn=admin,dc=domain,dc=com"
credentials=5fX?BLR2
tls_reqcert=allow
type=refreshAndPersist
retry="30+"
timeout=1
-
add: olcMirrorMode
olcMirrorMode: TRUE
That is, I want to replicate the database using admin. But there is an error
<olcMirrorMode> database is not a shadow .
How do I fix it ? )
|