From 75d1e3cefdb2c1b3f60a66e253369e97a307519f Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 10 May 2010 13:06:44 +0000 Subject: [PATCH] Added storage RDN properties. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18253 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../admin/systems/goto/class_ArpNewDevice.inc | 43 ++++++++++++------- 1 file changed, 28 insertions(+), 15 deletions(-) diff --git a/gosa-plugins/goto/admin/systems/goto/class_ArpNewDevice.inc b/gosa-plugins/goto/admin/systems/goto/class_ArpNewDevice.inc index 9b9f2511a..3ead07ee1 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_ArpNewDevice.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_ArpNewDevice.inc @@ -135,21 +135,34 @@ class ArpNewDevice extends plugin */ static function plInfo() { - return (array( - "plShortName" => _("Unknown incoming objects"), - "plDescription" => _("Unknown incoming objects"), - "plSelfModify" => FALSE, - "plDepends" => array(), - "plPriority" => 99, - "plSection" => array("administration"), - "plCategory" => array("incoming" => array( "description" => _("Incoming"), - "objectClass" => "")), - "plProvidedAcls"=> array( - "cn" => _("Name"), - "description" => _("Description") - - ) - )); + return (array( + "plShortName" => _("Unknown incoming objects"), + "plDescription" => _("Unknown incoming objects"), + "plSelfModify" => FALSE, + "plDepends" => array(), + "plPriority" => 99, + "plSection" => array("administration"), + + "plProperties" => + array( + array( + "name" => "systemIncomingRDN", + "type" => "rdn", + "default" => "ou=incoming,", + "description" => "The 'systemIncomingRDN' statement defines the location where incoming systems are stored. The default is 'ou=incoming,'.", + "check" => "gosaProperty::isRdn", + "migrate" => "", + "group" => "plugin", + "mandatory" => FALSE)), + + "plCategory" => array("incoming" => array( "description" => _("Incoming"), + "objectClass" => "")), + "plProvidedAcls"=> array( + "cn" => _("Name"), + "description" => _("Description") + + ) + )); } } -- 2.30.2