summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0e8eea9)
raw | patch | inline | side by side (parent: 0e8eea9)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 29 Jul 2010 13:54:54 +0000 (13:54 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 29 Jul 2010 13:54:54 +0000 (13:54 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19269 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/sudo/admin/sudo/tabs_sudo.inc | patch | blob | history |
diff --git a/gosa-plugins/sudo/admin/sudo/tabs_sudo.inc b/gosa-plugins/sudo/admin/sudo/tabs_sudo.inc
index 34aa4cafc1c41b33afbc2b3139f146c8ba00614e..a0b656c344f4cb243d82de9750276088a990d5c9 100644 (file)
/* Check for new 'dn', in order to propagate the
'dn' to all plugins */
- $new_dn= 'cn='.$baseobject->get_cn().','.sudo::get_sudoers_ou($baseobject->config);
+ $cn = preg_replace('/,/', '\,', $baseobject->get_cn());
+ $cn = preg_replace('/"/', '\"', $cn);
+ $new_dn= 'cn='.$cn.','.sudo::get_sudoers_ou($baseobject->config);
/* Move group? */
if ($this->dn != $new_dn){