From: hickert Date: Thu, 29 Jul 2010 13:54:50 +0000 (+0000) Subject: Updated object handling, special chars in obejct dns X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b5fba4bd767c260fa22e6dda5450fb8e9ae9071c;p=gosa.git Updated object handling, special chars in obejct dns git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19267 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/rolemanagement/admin/roleManagement/class_roleGeneric.inc b/gosa-plugins/rolemanagement/admin/roleManagement/class_roleGeneric.inc index a06f6600d..ffdf3b2f0 100644 --- a/gosa-plugins/rolemanagement/admin/roleManagement/class_roleGeneric.inc +++ b/gosa-plugins/rolemanagement/admin/roleManagement/class_roleGeneric.inc @@ -278,7 +278,7 @@ class roleGeneric extends plugin { $message[]= msgPool::required(_("Name")); } - if (preg_match ('/[#+:=>\\\\\/]/', $this->ou)){ + if (preg_match ('/[#+:=>\\\\\/]/', $this->cn)){ $message[]= msgPool::invalid(_("Name"), $this->cn, "/[^#+:=>\\\\\/]/"); }