From: hickert Date: Mon, 10 May 2010 13:06:54 +0000 (+0000) Subject: Added storage RDN properties. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=22f6767623943559670e05b91df64dc55035daed;p=gosa.git Added storage RDN properties. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18257 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/samba/admin/systems/samba/class_winGeneric.inc b/gosa-plugins/samba/admin/systems/samba/class_winGeneric.inc index 807a1d094..1ba789d10 100644 --- a/gosa-plugins/samba/admin/systems/samba/class_winGeneric.inc +++ b/gosa-plugins/samba/admin/systems/samba/class_winGeneric.inc @@ -285,15 +285,29 @@ class wingeneric extends plugin #FIXME FAIscript seams to ununsed within this class... */ static function plInfo() { - return (array( - "plShortName" => _("Win generic"), - "plDescription" => _("Windows workstation generic"), - "plSelfModify" => FALSE, - "plDepends" => array(), - "plPriority" => 0, - "plSection" => array("administration"), - "plCategory" => array("winworkstation" => array("description" => _("Win workstation"), - "objectClass" => "gotoWorkstation")), + return (array( + "plShortName" => _("Win generic"), + "plDescription" => _("Windows workstation generic"), + "plSelfModify" => FALSE, + "plDepends" => array(), + "plPriority" => 0, + "plSection" => array("administration"), + "plCategory" => array("winworkstation" => array("description" => _("Win workstation"), + "objectClass" => "gotoWorkstation")), + "plProperties" => + array( + array( + "name" => "sambaMachineAccountRDN", + "type" => "rdn", + "default" => "ou=winstation,", + "description" => "The 'sambaMachineAccountRDN' statement defines the location where new windows workstations will be created. The default is 'ou=winstation,'.", + "check" => "gosaProperty::isRdn", + "migrate" => "", + "group" => "plugin", + "mandatory" => FALSE + ) + ), + "plProvidedAcls"=> array( "cn" => _("Name"), "base" => _("Base"),