I have configured 2 OpenLDAP servers as provider and consumer to have replication but I am getting following error in the OpenLDAP log of the consumer server.
bdb_dn2id: get failed: DB_NOTFOUND: No matching key/data pair found (-30989)
I am using OpenLDAP 2.4.32 version.
I am not able to log in to the consumer server at all after restarting the consumer server. When I try to test the consumer connection it gives ok but their are no users on the database.
Any specific changes to be done to the config to make it work.
syncrepl rid=001 provider=ldap://provider bindmethod=sasl saslmech=external starttls=yes tls_cert=./secure/certs/admin.crt tls_key=./secure/certs/admin.key tls_cacert=./secure/certs/cacert.pem tls_reqcert=try searchbase="dc=example1,dc=com" filter="(objectClass=*)" scope=sub attrs="*,+" schemachecking=off type=refreshAndPersist interval=00:00:01:00 retry="60 +" updateref ldap://provider