From 63a76a65d03f8296304af2ca42a539ae55b28064 Mon Sep 17 00:00:00 2001 From: psc Date: Fri, 3 Dec 2010 10:21:14 +0000 Subject: [PATCH] Patch for #6056 When building the list of workstations which are already a member of an object group, properly encode the member DN via LDAP::convert() to avoid problems with workstations from OUs which include slashes. git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@20514 594d385d-05f5-0310-b6e9-bd551577e9d8 --- trunk/gosa-core/plugins/admin/ogroups/class_ogroup.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/gosa-core/plugins/admin/ogroups/class_ogroup.inc b/trunk/gosa-core/plugins/admin/ogroups/class_ogroup.inc index a9695489a..8e1d17061 100644 --- a/trunk/gosa-core/plugins/admin/ogroups/class_ogroup.inc +++ b/trunk/gosa-core/plugins/admin/ogroups/class_ogroup.inc @@ -162,7 +162,7 @@ class ogroup extends plugin $this->used_workstations = array(); foreach($res as $og){ if($og['dn'] == $this->dn) continue; - $test = array_intersect($ws_dns,$og['member']); + $test = array_intersect($ws_dns,LDAP::convert($og['member'])); if(($og['gosaGroupObjects'][0] == "[W]" || $og['gosaGroupObjects'][0] == "[T]") && count($test)){ $this->used_workstations = array_merge($this->used_workstations,$test); } -- 2.30.2