I've just setup replication and everything works properly. If I update
the master the slave is updated via slpad. However, when I update the
slave I get the following
>ldapadd -a -W -x -D "cn=Manager,dc=anc.net,dc=anci" -f
/usr/local/tmp/test.ldif
>Enter LDAP Password:
>adding new entry "ANCIAccountID=A0971217-1111,ou=People,dc=anc.net,dc=anci"
>ldapadd: update failed:
ANCIAccountID=A0971217-1111,ou=People,dc=anc.net,dc=anci
>ldap_add: Referral (10)
> referrals:
>
ldap://tsunami.anc.net/ANCIAccountID=A0971217-1111,ou=People,dc=anc.net,dc=anci
Here is the pertinent info in the master slapd.conf
>replica uri=ldap://nagasaki.anc.net:389
> binddn="cn=Repl,dc=anc.net,dc=anci"
> bindmethod=simple credentials="secret"
>replogfile /usr/local/var/openldap-slurp/replica/anc.net.replica
And the same for the slave
>updatedn "cn=Repl,dc=anc.net,dc=anci"
>updateref "ldap://tsunami.anc.net"
When issue the ldapadd command above I see it accessing the slave server
and the referral is returned. The master server is never accessed by the
ldapadd command.
Paul