<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hello,<br><br>I've try to configure 4 multimaster LDAP servers in a hosted domain environment and I've noticed with LDAP3.php function add_replication_agreements the replication agreements where not correctly configured to setup more than 1 server. The problem looks like to be in the following lines:<br><br>$ diff -u /usr/share/kolab-webadmin/lib/ext/Net/LDAP3.php.old /usr/share/kolab-webadmin/lib/ext/Net/LDAP3.php<br>--- /usr/share/kolab-webadmin/lib/ext/Net/LDAP3.php.old 2013-11-05 18:01:45.754115852 +0100<br>+++ /usr/share/kolab-webadmin/lib/ext/Net/LDAP3.php     2013-11-05 17:58:02.824115622 +0100<br>@@ -342,13 +342,14 @@<br>                         'nsDS5ReplicaCredentials',<br>                         'nsDS5ReplicaTransportInfo',<br>                         'nsDS5ReplicaBindMethod',<br>-                        'nsDS5ReplicaHost',<br>+                        //'nsDS5ReplicaHost',<br>                         'nsDS5ReplicaPort'<br>                     );<br><br>                 $replica_agreement_attrs = $ldap->get_entry_attributes($replica_agreement_tpl_dn, $attrs);<br>                 $replica_agreement_attrs['cn'] = array_shift(explode('.', $replicate_to_host)) . str_replace(array('dc=',','), array('_',''), $domain_root_dn);<br>                 $replica_agreement_attrs['nsDS5ReplicaRoot'] = $domain_root_dn;<br>+                $replica_agreement_attrs['nsDS5ReplicaHost'] = $replicate_to_host;<br>                 $replica_agreement_dn = "cn=" . $replica_agreement_attrs['cn'] . "," . $new_replica_dn;<br><br>                 $this->_debug("Adding $replica_agreement_dn to $replica_host with attributes: " . var_export($replica_agreement_attrs, TRUE));<br><br>The attribute nsDS5ReplicaHost it is defined with no value and If it is defined with "$replicate_to_host" the code configure correctly more than 1 server to replicate.<br><br>Can someone validate this modification? am I assuming something wrong?<br><br>Regards. <br><br>Manel<br>                                       </div></body>
</html>