summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ca03dd1)
raw | patch | inline | side by side (parent: ca03dd1)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 29 Jul 2010 13:54:33 +0000 (13:54 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 29 Jul 2010 13:54:33 +0000 (13:54 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19260 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/fai/admin/fai/tabsProfile.inc | patch | blob | history |
diff --git a/gosa-plugins/fai/admin/fai/tabsProfile.inc b/gosa-plugins/fai/admin/fai/tabsProfile.inc
index ac147a50f36e7360bbcf0dd69c84153fc2bf7512..834a21c2cf47b07f26f02d36bcdb1334ea1ab62d 100644 (file)
function save($ignore_account= FALSE)
{
$baseobject= $this->by_object['faiProfile'];
- $new_dn ='cn='.$baseobject->cn.",".get_ou("faiProfile", "faiProfileRDN").$this->parent->fai_release;
+ $cn = preg_replace('/,/', '\,', $baseobject->cn);
+ $cn = preg_replace('/"/', '\"', $cn);
+ $new_dn ='cn='.$cn.",".get_ou("faiProfile", "faiProfileRDN").$this->parent->fai_release;
if ($this->dn != $new_dn && $this->dn != "new"){