Code

Updated object handling, special chars in obejct dns
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 29 Jul 2010 13:54:50 +0000 (13:54 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 29 Jul 2010 13:54:50 +0000 (13:54 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19267 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/rolemanagement/admin/roleManagement/class_roleGeneric.inc

index a06f6600d9ed818d376511b8c0a60e1ee428875b..ffdf3b2f07b77fda47ff85d81875cb5377428599 100644 (file)
@@ -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, "/[^#+:=>\\\\\/]/");
         }