MULTI-MASTER-REPLICATION

 

overlay refint

 

overlay refint

 

Server 1

 

Server 2

 
    

dn: cn=criter-replik,ou=criteria,dc=domain

   

changetype: add

   

objectClass: Criterion

   

objectClass: top

   

cc: GB

   

ip-network: 10.10.10.10/27

   

ip-network: 192.168.56.12/27

   

asn: 55345

   

fqdn: hack.org

   

cn: criter-replica

   
    

dn: cn=subsrc12,cn=src1,ou=sources,dc=domain

 

dn: cn=criter-replik,ou=criteria,dc=domain

 

changetype: modify

 

changetype: add

 

delete: inclusion-criteria-refint

 

objectClass: Criterion

Replicate OK

inclusion-criteria-refint: cn=crit-replica,ou=criteria,dc=domain

 

objectClass: top

 
  

cc: GB

 
  

ip-network: 10.10.10.10/27

 
  

ip-network: 192.168.56.12/27

 
  

asn: 55345

 
  

fqdn: hack.org

 
  

cn: criter-replica

 
    
  

dn: cn=subsrc12,cn=src1,ou=sources,dc=domain

 
  

changetype: modify

Replicate OK

  

delete: inclusion-criteria-refint

 
  

inclusion-criteria-refint: cn=crit-replica,ou=criteria,dc=domain

 
    
    
  

But I rename(or delete) entry rdn=crit-replica on server 2

 
    
  

dn: cn=crit_replica,ou=criteria,dc=domain

 
  

changetype: moddn

 
  

newrdn: cn=crit_replica_change_name

 
  

deleteoldrdn: 1

 
  

newsuperior: ou=criteria,dc=domain

 

Replicate OK

   

dn: cn=crit_replica_change_name,ou=criteria,dc=domain

 

this causes referalintegrity (refint)

 

objectClass: Criterion

 

and entry cn=subsrc12,cn=src1,ou=sources,dc=domain renamed dn inclusion-criteria-refint, its OK

 

objectClass: top

   

cn: crit_replica_change_name

 

dn: cn=subsrc12,cn=src1,ou=sources,dc=domain

 

asn: 1234

 

objectClass: Subsource

 

asn: 12345

 

objectClass: top

 

cc: PL

 

cn: subsrc12

 

fqdn: hack.pl

 

inclusion-criteria-refint: cn=crit_change_name,ou=criteria,dc=domain

 

ip-network: 192.168.56.22/28

   
    

but refint on server 1 (or replicate) dont working (the name in symetric object dont renamed)

   

zostaje old  cn=crit_replica

   

dn: cn=subsrc11,cn=src1,ou=sources,dc=domain

   

objectClass: Subsource

   

objectClass: top

   

cn: subsrc11

Replicate WRONG

  

inclusion-criteria-refint: cn=crit_replica,ou=criteria,dc=domain