Dreamscapes/Ldap/Core/Ldap.php
public function modReplace($dn, array $entry)
    {
        @ldap_mod_replace($this->resource, $dn, $entry);
        $this->verifyOperation();

        return $this;
    }
public function modReplace($dn, array $entry)
    {
        @ldap_mod_replace($this->resource, $dn, $entry);
        $this->verifyOperation();

        return $this;
    }
Replace attribute values with new ones

@param  string $dn    The distinguished name of an LDAP entity
@param  array  $entry Attributes and their values to be replaced
@return self