[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Database Replication - stumped





--On Monday, May 22, 2006 3:52 PM -0400 Rob Hall <rob@desynched.net> wrote:

Ok guys - I've read and read, researched and researched, and nothing I've
found helps me any. I followed the documentation exactly, and my
replication still does not work.

I added the following to my master:
replica
    uri=ldap://192.168.0.65
    bindmethod=simple
    credentials=secret
    binddn="cn=replica,dc=somedomain,dc=com"

replogfile /var/log/replog

# ACL entry:
access to *
        by dn="cn=replica,dc=somedomain,dc=com" write
        by self write
        by * none

You want the replica do write to the master? That seems a little odd. Is this ACL perhaps meant to go on the slave?


What version of OpenLDAP are you using?

You may want to investigate syncrepl if you are using 2.3 (I'd suggest 2.3.23 anyway).

--Quanah



--
Quanah Gibson-Mount
Principal Software Developer
ITS/Shared Application Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html