summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b5fba4b)
raw | patch | inline | side by side (parent: b5fba4b)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 29 Jul 2010 13:54:52 +0000 (13:54 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 29 Jul 2010 13:54:52 +0000 (13:54 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19268 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/rolemanagement/admin/roleManagement/tabs_roles.inc | patch | blob | history |
diff --git a/gosa-plugins/rolemanagement/admin/roleManagement/tabs_roles.inc b/gosa-plugins/rolemanagement/admin/roleManagement/tabs_roles.inc
index 8346d9b1b55d226034ad499fbd75f95bf94d39d1..93d2691413d837c27be3384121b3328ddfb99013 100644 (file)
/* Check for new 'dn', in order to propagate the
'dn' to all plugins */
- $nAV = preg_replace('/,/', '\,', $baseobject->cn);
- $nAV = preg_replace('/"/', '\"', $nAV);
- $new_dn= 'cn='.$nAV.','.get_ou("roleGeneric", "roleRDN").$baseobject->base;
+ $cn = preg_replace('/,/', '\,', $baseobject->cn);
+ $cn = preg_replace('/"/', '\"', $cn);
+ $new_dn= @LDAP::convert('cn='.$cn.','.get_ou("roleGeneric", "roleRDN").$baseobject->base);
/* Move role? */
if ($this->dn != $new_dn){