From 3bfb8eee690decb86439f80cddf5da4903367165 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 10 May 2010 13:06:34 +0000 Subject: [PATCH] Added storage RDN properties. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18249 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../admin/systems/class_componentGeneric.inc | 42 ++++++++++++------- 1 file changed, 28 insertions(+), 14 deletions(-) diff --git a/gosa-plugins/systems/admin/systems/class_componentGeneric.inc b/gosa-plugins/systems/admin/systems/class_componentGeneric.inc index ac0116048..209b14fca 100644 --- a/gosa-plugins/systems/admin/systems/class_componentGeneric.inc +++ b/gosa-plugins/systems/admin/systems/class_componentGeneric.inc @@ -288,21 +288,35 @@ class componentGeneric extends plugin /* Return plugin informations for acl handling */ static function plInfo() { - return (array( - "plShortName" => _("Generic"), - "plDescription" => _("Component generic"), - "plSelfModify" => FALSE, - "plDepends" => array(), - "plPriority" => 1, - "plSection" => array("administration"), - "plCategory" => array("component" => array("description" => _("Network device"), - "objectClass" => array("device", "ipHost", "ieee802Device"))), + return (array( + "plShortName" => _("Generic"), + "plDescription" => _("Component generic"), + "plSelfModify" => FALSE, + "plDepends" => array(), + "plPriority" => 1, + "plSection" => array("administration"), + "plCategory" => array("component" => array("description" => _("Network device"), + "objectClass" => array("device", "ipHost", "ieee802Device"))), + "plProperties" => + array( + array( + "name" => "componentRDN", + "type" => "rdn", + "default" => "ou=netdevices,ou=systems,", + "description" => "The 'componentRDN' statement defines the location where new components will be created. The default is 'ou=netdevices,ou=systems,'.", + "check" => "gosaProperty::isRdn", + "migrate" => "", + "group" => "plugin", + "mandatory" => FALSE + ) + ), + "plProvidedAcls"=> array( - "cn" => _("Name"), - "base" => _("Base"), - "description" => _("Description"), - "userPassword" => _("Root password")) - )); + "cn" => _("Name"), + "base" => _("Base"), + "description" => _("Description"), + "userPassword" => _("Root password")) + )); } /* Display generic part for server copy & paste */ -- 2.30.2