The problem direction has the same syncrepl configuration as the working
one except for the rid and provider name:
olcSyncrepl: {0}
rid=102 provider="ldap://server2.prod:389/"
type=refreshAndPersist
retry="60 30 300 +"
keepalive=1200:10:3
searchbase="dc=mydomain,dc=com"
bindmethod=simple
binddn="cn=replica,dc=mydomain,dc=com"
credentials=xxxxxx
starttls=critical
tls_cacert="/etc/pki/CA/cacert.pem"
On the consumer side I am seeing these messages:
Sep 22 22:02:02 ldaprov1 slapd[15466]: do_syncrep2: rid=102 got search
entry without Sync State control
Sep 22 22:02:02 ldaprov1 slapd[15466]: do_syncrepl: rid=102 rc -1
retrying (29 retries left)
and on the provider side I am seeing these: