From: hickert Date: Mon, 12 Oct 2009 14:04:22 +0000 (+0000) Subject: Updated ACL handling in case of renaming of container objects. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d6e3abec6bbf81d1bbc145739e3ae06d99cab5a5;p=gosa.git Updated ACL handling in case of renaming of container objects. -Fixed DN modifications. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14584 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_plugin.inc b/gosa-core/include/class_plugin.inc index f03490a03..ae5193b0e 100644 --- a/gosa-core/include/class_plugin.inc +++ b/gosa-core/include/class_plugin.inc @@ -976,7 +976,7 @@ class plugin array("dn","objectClass"),GL_SUBSEARCH | GL_NO_ACL_CHECK); foreach($leaf_objs as $obj){ $new_dn = $obj['dn']; - $old_dn = preg_replace("/".preg_quote($dst_dn, '/')."$/i",$src_dn,$new_dn); + $old_dn = preg_replace("/".preg_quote(LDAP::convert($dst_dn), '/')."$/i",$src_dn,LDAP::convert($new_dn)); $this->update_acls($old_dn,$new_dn); }