summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: cfb30f7)
raw | patch | inline | side by side (parent: cfb30f7)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 29 Jul 2010 13:55:08 +0000 (13:55 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 29 Jul 2010 13:55:08 +0000 (13:55 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19274 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/systems/admin/systems/tabs_component.inc | patch | blob | history |
diff --git a/gosa-plugins/systems/admin/systems/tabs_component.inc b/gosa-plugins/systems/admin/systems/tabs_component.inc
index ac1a6ab5eab91af846dc39988f374a8848dede8e..2c361ab24a49d0838bb51cdc67eba729c7a62d35 100644 (file)
/* Check for new 'dn', in order to propagate the
'dn' to all plugins */
$baseobject= $this->by_object['componentGeneric'];
- $this->dn= "cn=$baseobject->cn,".get_ou("componentGeneric", "componentRDN").$baseobject->base;
+ $cn = preg_replace('/,/', '\,', $baseobject->cn);
+ $cn = preg_replace('/"/', '\"', $cn);
+ $this->dn= "cn={$cn},".get_ou("componentGeneric", "componentRDN").$baseobject->base;
if($this->dn != $baseobject->orig_dn && $baseobject->orig_dn != "new"){