I missed to include "/usr/share/openldap-servers/slapd.acl" in proxy.conf(Consumer proxy configuration).I included this, still getting same error in consumer proxy log.
*syncrepl_entry: rid=001 LDAP_RES_SEARCH_ENTRY(LDAP_SYNC_ADD)*
*syncrepl_entry: rid=001 be_search (49)*
*syncrepl_entry: rid=001 dc=suretecsystems,dc=com*
*null_callback : error code 0x31*
*syncrepl_entry: rid=001 be_add dc=suretecsystems,dc=com (49)*
*syncrepl_entry: rid=001 be_add dc=suretecsystems,dc=com failed (49)*
*do_syncrepl: rid=001 rc 49 retrying (4 retries left)*
*I have one question consumer proxy configuration .*
database ldap
# ignore conflicts with other databases, as we need to push out to same suffix
hidden on
suffix "dc=suretecsystems,dc=com"
rootdn "cn=slapd-ldap"
uri ldap://10.52.35.204:9012/
syncrepl rid=001
provider=ldap://10.52.35.204:389/
Shall "uri" directive above point to master database ldap://10.52.35.204:389 instead ldap://10.52.35.204:9012 ?
Regards Rupesh
I was giving incorrect URI in proxy.conf(Consumer proxy configuration). It should point to slave database(10.52.35.204:9015).Correcting URI as below resolved replication issue. uri ldap://10.52.35.204:9015/
Regards Rupesh
openldap-technical@openldap.org