From d6e3abec6bbf81d1bbc145739e3ae06d99cab5a5 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 12 Oct 2009 14:04:22 +0000 Subject: [PATCH] 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 --- gosa-core/include/class_plugin.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.30.2