summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 415afb8)
raw | patch | inline | side by side (parent: 415afb8)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 21 Aug 2008 09:54:43 +0000 (09:54 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 21 Aug 2008 09:54:43 +0000 (09:54 +0000) |
-Undefined index MAc
-Added ACLs
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12256 594d385d-05f5-0310-b6e9-bd551577e9d8
-Added ACLs
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12256 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/opsi/admin/opsi/class_opsi.inc | patch | blob | history | |
gosa-plugins/opsi/admin/opsi/class_opsi_generic.inc | patch | blob | history |
diff --git a/gosa-plugins/opsi/admin/opsi/class_opsi.inc b/gosa-plugins/opsi/admin/opsi/class_opsi.inc
index ebbbf5941e0bcf2b7b30c03e3df83b4e86c81d2d..4c055b6cb7e7c69d4e45c100329ce70548954275 100644 (file)
$data = array();
foreach($res as $entry){
+ if(!isset($entry['MAC'])) $entry['MAC'] = "";;
$data[] = array(
"dn" => "opsi:=".$entry['NAME'].",".get_ou("winstations").$this->config->current['BASE'],
"objectClass" => array("gosa_opsi_client"),
diff --git a/gosa-plugins/opsi/admin/opsi/class_opsi_generic.inc b/gosa-plugins/opsi/admin/opsi/class_opsi_generic.inc
index 65178cbc126f1133ae17aa0b0b9f405233418366..0b23871615c1fd2bd5cbe61cd97fd2f4a4037a01 100644 (file)
}
}
}
+
+ /* Return plugin informations for acl handling */
+ static function plInfo()
+ {
+ return (array(
+ "plShortName" => _("Generic"),
+ "plDescription" => _("Opsi generic"),
+ "plSelfModify" => FALSE,
+ "plDepends" => array(),
+ "plPriority" => 1,
+ "plSection" => array("administration"),
+ "plCategory" => array("opsi" => array("description" => _("Opsi client"),
+ "objectClass" => "dummy_class_opsi")),
+ "plProvidedAcls"=> array()
+ ));
+ }
+
}