summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 61b8db0)
raw | patch | inline | side by side (parent: 61b8db0)
author | psc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 3 Dec 2010 10:21:14 +0000 (10:21 +0000) | ||
committer | psc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 3 Dec 2010 10:21:14 +0000 (10:21 +0000) |
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
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 | patch | blob | history |
diff --git a/trunk/gosa-core/plugins/admin/ogroups/class_ogroup.inc b/trunk/gosa-core/plugins/admin/ogroups/class_ogroup.inc
index a9695489a1ebb7869c78c94f77d333ba003ca063..8e1d17061b1b010df278a2b9a9aae3e0902f1ee3 100644 (file)
$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);
}