It is found that changes made to an LDAP directory are no longer being replicated to the slave server at 192.168.0.3.
Tests prove that the slave server is listening on port 389 and changes are being recorded properly to the replication log file.
In which file would you find the replication errors?
Answer: /var/lib/ldap/replica/192.168.0.3:389.rej
Its Wrong!!! Answer is /var/lib/ldap/replica/192.168.0.3:389.rej
You said it’s wrong but you pointed the correct answer the same as the “wrong” one!
Correct answer is:
When slurpd propagates a change to a slave slapd and receives an error return code, it writes the reason for the error and the replication record to a reject file. The reject file is located in the same directory as the per-replica replication logfile, and has the same name, but with the string “.rej” appended. For example, for a replica running on host slave.example.com, port 389, the reject file, if it exists, will be named
/usr/local/var/openldap/replog.slave.example.com:389.rej