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

Re: Database Replication - stumped




----- Original Message ----- From: "Quanah Gibson-Mount" <quanah@stanford.edu>
To: "Rob Hall" <rob@desynched.net>; <openldap-software@OpenLDAP.org>
Sent: Monday, May 22, 2006 4:53 PM
Subject: 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

I have that ACL on both master and slave - I want the slave to be able to send changes back to the master.
I'm running openldap-2.3.20.
Can you expand further on syncrepl?


--
Rob