diff --git a/gosa-plugins/goto/admin/systems/goto/tabs_workstation.inc b/gosa-plugins/goto/admin/systems/goto/tabs_workstation.inc
index 5086602cf04e0ec21690a6004568f04e3fdb8e8e..75f6bd4e9b2511d9946d6fe6c24ead250cf8ea97 100644 (file)
$baseobject= NULL;
+ $this->acl_category = $category;
+
foreach ($data as $tab){
if(!class_available($tab['CLASS'])) continue;
/* Check for new 'dn', in order to propagate the
'dn' to all plugins */
$baseobject= $this->by_object['workgeneric'];
- $this->dn= "cn=".$baseobject->cn.",".get_ou('workstationRDN').$baseobject->base;
+ $cn = preg_replace('/,/', '\,', $baseobject->cn);
+ $cn = preg_replace('/"/', '\"', $cn);
+ $this->dn= "cn=".$cn.",".get_ou("workgeneric", "workstationRDN").$baseobject->base;
if($this->dn != $baseobject->orig_dn && $baseobject->orig_dn != "new"){