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

need help on replication of ldap servers



Hello group,
I have setup 2 ldap servers and trying to do replication from one ldap server to another. Below are my configuration files.
I am not able to find out where i am going wrong. I checked both the man pages and documentation using slurpd on openLdap but still i am not able to replicate. can anyone tell me what i am doing wrong? any pointers would be of great help.
below are my slapd.conf files on both master and slave. i checked the replication log but its size is 0. checked the /var/log/messages no errors reported. i started both the master and slave servers but still no luck.
Thanks in advance,
Hakan


################# snippet config file on slave #######################
# Sample Access Control
access to *
by dn="cn=Manager,ou=mydept,o=myorganization"
by anonymous auth
by * search
by * read
#
# if no access controls are present, the default is:
# Allow read by all
#
# rootdn can always write!
#######################################################################
# ldbm database definitions
#######################################################################
database ldbm
suffix "ou=mydept,o=myorganization"
rootdn "ou=mydept,o=myorganization"
# Cleartext passwords, especially for the rootdn, should
# be avoided. See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
rootpw secret
# The database directory MUST exist prior to running slapd AND
# should only be accessible by the slapd/tools. Mode 700 recommended.
directory /var/lib/ldap/mydept
# Indices to maintain
#index objectClass,uid,uidNumber,gidNumber,memberUid eq
#index cn,mail,surname,givenname eq,subinitial
index cn,sn,st pres,eq,sub
# Replicas to which we should propagate changes
#replica host=ldap-1.example.com:389 tls=yes
# bindmethod=sasl saslmech=GSSAPI
# authcId=host/ldap-master.example.com@EXAMPLE.COM
updatedn "cn=Manager,ou=mydept,o=myorganization"
updateref "192.168.0.193:389"
################### end of config on slave ########################
################# snippet config file on master #######################
# Sample Access Control
access to *
by * read
by * search
#######################################################################
# ldbm database definitions
#######################################################################
database ldbm
suffix "o=myorganization"
rootdn "cn=Manager,o=myorganization"
# Cleartext passwords, especially for the rootdn, should
# be avoided. See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
# Cleartext passwords, especially for the rootdn, should
# be avoided. See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
rootpw secret
# The database directory MUST exist prior to running slapd AND
# should only be accessible by the slapd/tools. Mode 700 recommended.
directory /var/lib/ldap/mydept
# Indices to maintain
#index objectClass,uid,uidNumber,gidNumber,memberUid eq
#index cn,mail,surname,givenname eq,subinitial
index cn,sn,st pres,eq,sub
# Replicas to which we should propagate changes
#replica host=ldap-1.example.com:389 tls=yes
# bindmethod=sasl saslmech=GSSAPI
# authcId=host/ldap-master.example.com@EXAMPLE.COM
replogfile /usr/local/var/openldap/slapd.replog
replica host=192.168.0.132:389
binddn "cn=Manager,ou=mydept,o=myorganization"
bindmethod=simple credentials=secret
################### end of config on master ########################