summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 03a1114)
raw | patch | inline | side by side (parent: 03a1114)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 29 Jul 2010 13:55:00 +0000 (13:55 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 29 Jul 2010 13:55:00 +0000 (13:55 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19271 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/admin/systems/goto/tabs_printers.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/admin/systems/goto/tabs_printers.inc b/gosa-plugins/goto/admin/systems/goto/tabs_printers.inc
index 95ae791d954ae5657e09c7c5a31602600fff4df9..8160246ba40f0fe511bbc8550e2bd4d959a5c577 100644 (file)
/* Check for new 'dn', in order to propagate the
'dn' to all plugins */
$baseobject= $this->by_object['printgeneric'];
- $this->dn= "cn=$baseobject->cn,".get_ou("printgeneric", "printerRDN").$baseobject->base;
+ $cn = preg_replace('/,/', '\,', $baseobject->cn);
+ $cn = preg_replace('/"/', '\"', $cn);
+ $this->dn= "cn={$cn},".get_ou("printgeneric", "printerRDN").$baseobject->base;
$baseobject->dn= $this->dn;
foreach ($this->by_object as $key => $obj){