[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: More on: partial replication errors
> Looks like there's some misconfiguration in your slave.
Yeah, that is the logical conclusion.
> Are you sure the slapd.conf of master and slave are the
> same EXCEPT for the replication stuff?
I've worked on getting the slapd.confs closer together (ordering
directives the same way in both files)... I still have the
problem.
Here is a diff -bwi on master vs slave:
9c9
< #referral ldap://root.openldap.org
---
> referral ldap://umc97.sharemedia.com
34,35c34,35
< replogfile /usr/MASTER_LDAP_LOG/efx1d_slapd.replog
< replica host=efx1d.sharemedia.com:389 bindmethod=simple
credentials=en1cr!pt
binddn="cn=MasterReplicant,cn=Replicants,dc=SharemediaTest,dc=com"
---
> updatedn
"cn=MasterReplicant,cn=Replicants,dc=SharemediaTest,dc=com"
> updateref "ldap://umc97.sharemedia.com"
My two slapd are given below:
___________________________________________________________
SLAVE
___________________________________________________________
$OpenLDAP: pkg/ldap/servers/slapd/slapd.conf,v 1.8.8.6
2001/04/20 23:32:43 kurt Exp $
#
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
include /usr/local/etc/openldap/schema/core.schema
include
/usr/local/etc/openldap/schema/sharemediaVerisign.schema
referral ldap://umc97.sharemedia.com
access to * by dn="cn=Manager,dc=SharemediaTest,dc=com" write
by
dn="cn=MasterReplicant,cn=Replicants,dc=SharemediaTest,dc=com"
write
by * read
pidfile /usr/local/var/slapd.pid
argsfile /usr/local/var/slapd.args
sizelimit 1100
timelimit 1
#######################################################################
# ldbm database definitions
#######################################################################
database ldbm
cachesize 1100
dbnolocking
dbnosync
directory /usr/local/var/openldap-ldbm
suffix "dc=SharemediaTest,dc=com"
rootdn "cn=Manager,dc=SharemediaTest,dc=com"
rootpw secret
updatedn
"cn=MasterReplicant,cn=Replicants,dc=SharemediaTest,dc=com"
updateref "ldap://umc97.sharemedia.com"
index cn eq,sub,pres
index objectClass eq
access to * by dn="cn=Manager,dc=SharemediaTest,dc=com" write
by
dn="cn=MasterReplicant,cn=Replicants,dc=SharemediaTest,dc=com"
write
by * read
______________________________________________________________
MASTER
______________________________________________________________
# $OpenLDAP: pkg/ldap/servers/slapd/slapd.conf,v 1.8.8.6
2001/04/20 23:32:43 kurt Exp $
#
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
include /usr/local/etc/openldap/schema/core.schema
include
/usr/local/etc/openldap/schema/sharemediaVerisign.schema
#referral ldap://root.openldap.org
access to * by dn="cn=Manager,dc=SharemediaTest,dc=com" write
by
dn="cn=MasterReplicant,cn=Replicants,dc=SharemediaTest,dc=com"
write
by * read
pidfile /usr/local/var/slapd.pid
argsfile /usr/local/var/slapd.args
sizelimit 1100
timelimit 1
#######################################################################
# ldbm database definitions
#######################################################################
database ldbm
cachesize 1100
dbnolocking
dbnosync
directory /usr/local/var/openldap-ldbm
suffix "dc=SharemediaTest,dc=com"
rootdn "cn=Manager,dc=SharemediaTest,dc=com"
rootpw secret
replogfile /usr/MASTER_LDAP_LOG/efx1d_slapd.replog
replica host=efx1d.sharemedia.com:389 bindmethod=simple
credentials=en1cr!pt
binddn="cn=MasterReplicant,cn=Replicants,dc=SharemediaTest,dc=com"
index cn eq,sub,pres
index objectClass eq
access to * by dn="cn=Manager,dc=SharemediaTest,dc=com" write
by
dn="cn=MasterReplicant,cn=Replicants,dc=SharemediaTest,dc=com"
write
by * read