[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Replication Problems
Dear All,
I am using the slapd.conf file below to setup ldap replication on some internal
servers.
The version os the servers are as follows
Master: Red Hat 7.1 openldap-2.0.7-14
Slave: Red Hat 7.3 openldap-2.0.23-4
Problems are as follows:
The master appears to be put enteries in the replica dir without any
problems, however the updates never get sent to the slave.
The slave allows also allows updates instead of rejecting the update and
providing a referrer.
The configuration file I am using below is being used on both master and
slave. I just comment or uncomment the relevant enteries under replication
settings.
I'm probably missing something obvious, but I just can't spot it.
All help welcome.
Thanks
Julian
#
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/misc.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/nis.schema
#include /etc/openldap/schema/redhat/rfc822-MailMember.schema
include /etc/openldap/schema/redhat/autofs.schema
include /etc/openldap/schema/redhat/kerberosobject.schema
schemacheck off
#include /etc/openldap/slapd.at.conf
#include /etc/openldap/slapd.oc.conf
pidfile /var/run/slapd.pid
argsfile /var/run/slapd.args
################################################################
#######
# replication settings
################################################################
#######
replica host=192.168.100.253:389
binddn="cn=Manager, o=imsmaxims.com"
bindmethod=simple credentials=XXXXXXXXXXXXXXXXXXXXXXXXXXX
replogfile /var/lib/ldap/master-slapd.replog
#updatedn "cn=Manager, o=imsmaxims.com"
#updateref ldap://192.168.2.72:389/
#readonly on
################################################################
#######
# ldbm database definitions
################################################################
#######
database ldbm
suffix "o=imsmaxims.com"
directory /var/lib/ldap
password-hash {MD5}
rootdn "cn=Manager, o=imsmaxims.com"
rootpw {CRYPT}XXXXXXXXXXXXXXXXXXXXXXXXXXX
index uid pres,eq
index objectClass eq
access to attr=userPassword
by self write
by anonymous auth
by dn="cn=Manager, o=imsmaxims.com" write
by * none
access to *
by self write
by anonymous auth
by * read
access to *
by * read
========================================================
Julian W H Osborne
IMS MAXIMS plc
Clara House, Glenageary Business Park, Co. Dublin, Ireland
Tel: +353 1 2352166 Fax: +353 1 2352227
Sandymount, Station Road, Woburn Sands, Bucks MK17 8RR, UK
Tel: +44 (0)1908 588800 Fax: +44 (0)1908 588819
http://www.imsmaxims.com/
========================================================