updatedn="uid=repl_writer,dc=mycompany,dc=com"I don't think this is valid. Try "slaptest -d config" and/or read slapd.conf(5) man page.
*The userpassword does not replicate to slave. *The following is the replicated result in slave.
ldapmodify: Referral (10) referrals:
ldap://master:389/uid=testuser,dc=mycompany,dc=com<ldap://master:389/uid=repl_reader,dc=ufreight,dc=com>