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

slave to master not working...



Hello all,
   I need to set up two LDAP server (one master and one slave) which
have sync. on their database. So far, I am only using one machine(Redhat

linux 6.2) to test how to do it. I have successfully configured the
replication from the master to the slave. When master updated its
database, slurpd will update slave database. The problem is when slave
updates its database, slurpd didn't make any changes to master. I don't
know what's missing in my config files.
    Belowing is my master.conf and slave.conf :

    master.conf :


/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

    suffix  ""
    rootdn  "cn=Manager,o=Transparity,c=SG"
    rootpw  secret

    ....
    replica host=ldap://ldap.transparity.com:1389
            binddn= "cn=Replica,o=Transparity,c=SG"
            bindmethod=simple credentials=passwd

    replogfile /usr/var/replog.log

    index cn,mail pres,eq,sub

    access to dn=".*,ou=Groups,o=Transparity,c=SG"
         by * search
    access to dn="cn=Manager,o=Transparity,c=SG"
         by * none
    access to dn="cn=Replica,o=Transparity,c=SG"
         by * none
    access to filter="objectclass=secureLdapUser"
         by * read

    access to attr=userpassword by self write
         by dn="cn=Manager,o=Transparity,c=SG" write
         by dn="cn=Replica,o=Transparity,c=SG" write
         by * compare


/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

    slave.conf:


/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

    suffix  ""
    rootdn  "cn=Replica,o=Transparity,c=SG"
    rootpw  passwd

    ....
    updatedn "cn=Replica,o=Transparity,c=SG"
    updateref  "ldap://ldap.transparity.com:389";

    index cn,mail pres,eq,sub

    access to dn=".*,ou=Groups,o=Transparity,c=SG"
         by * search
    access to dn="cn=Manager,o=Transparity,c=SG"
         by * none
    access to dn="cn=Replica,o=Transparity,c=SG"
         by * none
    access to filter="objectclass=secureLdapUser"
         by * read

    access to attr=userpassword by self write
         by dn="cn=Manager,o=Transparity,c=SG" write
         by dn="cn=Replica,o=Transparity,c=SG" write
         by * compare


/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

    I really need help to solve this problem. Thanks you very much in
advance..

Regards,
siok peng