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

Replication slave changes not going to the master



 Hi,

I am testing openldap replication, If change something on the master I was
able to see it on the slave. If I try to change something on the slave,
slave is not forwading modifiy request to the master server.

I am using fedora Core Linux, Here is my configuration.

192.168.0.2 masterldap.sfg.homeunix.com
192.168.0.3 slave1ldap.sfg.homeunix.com

[root@mail root]# rpm -qa | grep openldap
openldap-2.1.22-8
openldap-devel-2.1.22-8
openldap-clients-2.1.22-8
openldap-servers-2.1.22-8


Master sldap.conf file:
=======================

[root@mail log]#  cat /etc/openldap/slapd.conf |egrep -v '^#|^$'
include         /etc/openldap/schema/core.schema
include         /etc/openldap/schema/cosine.schema
include         /etc/openldap/schema/inetorgperson.schema
include         /etc/openldap/schema/nis.schema
include         /etc/openldap/schema/redhat/autofs.schema
allow bind_v2
pidfile /var/run/slapd.pid
database        ldbm
suffix          "dc=sfg,dc=homeunix,dc=com"
rootdn          "cn=Manager,dc=sfg,dc=homeunix,dc=com"
rootpw           {SSHA}fDo/jB8qsjfMYmLTgi0dAPH18+pF+xf9
directory       /var/lib/ldap
index objectClass                       eq,pres
index ou,cn,mail,surname,givenname      eq,pres,sub
index uidNumber,gidNumber,loginShell    eq,pres
index uid,memberUid                     eq,pres,sub
index nisMapName,nisMapEntry            eq,pres,sub
replogfile /var/lib/ldap/openldap-master-replog
replica host=slave1ldap.sfg.homeunix.com
        binddn="cn=Manager,dc=sfg,dc=homeunix,dc=com"
        bindmethod=simple credentials=secret
loglevel        256



Slave sldap.conf file:
=====================
[root@kerberos log]# cat /etc/openldap/slapd.conf |egrep -v '^#|^$'
include         /etc/openldap/schema/core.schema
include         /etc/openldap/schema/cosine.schema
include         /etc/openldap/schema/inetorgperson.schema
include         /etc/openldap/schema/nis.schema
include         /etc/openldap/schema/redhat/autofs.schema
allow bind_v2
pidfile /var/run/slapd.pid
database        ldbm
suffix          "dc=sfg,dc=homeunix,dc=com"
rootdn          "cn=Manager,dc=sfg,dc=homeunix,dc=com"
rootpw           {SSHA}fDo/jB8qsjfMYmLTgi0dAPH18+pF+xf9
directory       /var/lib/ldap
index objectClass                       eq,pres
index ou,cn,mail,surname,givenname      eq,pres,sub
index uidNumber,gidNumber,loginShell    eq,pres
index uid,memberUid                     eq,pres,sub
index nisMapName,nisMapEntry            eq,pres,sub
updatedn "cn=Manager,dc=sfg,dc=homeunix,dc=com"
updateref ldap://192.168.0.2
loglevel 512


Any tips to fix this problem.

Thanks
SR