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

PLEASE HELP - simple slapd.conf question -



Hello,
   I am trying to do replication (I did it several times a few
months ago) and am vexed.  I am using the openLDAP 2.0.11 that
is bundled with RedHat 7.2.  I have set up the slapd.confs on
master and slave run debugging and have found the following:
   1) I make a change on the master (that should also propigate
to the slave) and find that it is made on the master but slurpd
does no work (I have it tunneled through a third box and see no
activity on it)
   2) If I make a bogus replication file and move in into the
spot where the master slapd.conf (also used by my slurpd)
specifies it the tunnel shows activity and when I query the
slave I see the entry has been replicated successfully.

Why isn't the master slapd.conf writing a replication.logfile 
(to the spot I specify) when it makes changes?

This is my master slapd.conf file (with some passwords IP's
changed to protect the innocent).

include         /etc/openldap/schema/core.schema

#spad specific schema
include         /etc/openldap/schema/bdl.schema
#sharemedia's um system schema
include         /etc/openldap/schema/sm.schema

# Define global ACLs to disable default read access.
access to * by dn="cn=Boopis,o=VerisignRoot" write
            by dn="o=SharemediaRoot" write
            by * read

sizelimit       200000

#######################################################################
# ldbm database definitions
#######################################################################
database        ldbm

lastmod         on
dbcachenowsync
cachesize       200000
dbcachesize     8000000

suffix          "o=VerisignRoot"
suffix          "o=SharemediaRoot"
directory       /var/lib/ldap
rootdn          "cn=Directory Manager,o=SharemediaRoot"
rootpw          lotsafun

# Create a replication log in /var/lib/ldap for use by slurpd.
replogfile /usr/MASTER_LDAP_LOG/dspadds3_slapd.replog
#set up replica info
replica host=10.1.1.222:1389
binddn="cn=Replicator,cn=Replicants,o=SharemediaRoot"
bindmethod=simple credentials=ung_7lot

index   cn                      eq, sub, pres
index   objectClass             eq
index   bdl-business-id         eq
index   bdl-business-listing-id eq
index   bdl-state               eq
index   bdl-city                eq
index   bdl-place-id            eq
index   st                      eq
index   l                       eq