summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b1b94f1)
raw | patch | inline | side by side (parent: b1b94f1)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 8 Aug 2006 05:14:13 +0000 (05:14 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 8 Aug 2006 05:14:13 +0000 (05:14 +0000) |
Fixed samba acl handling
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4420 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4420 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/systems/class_winGeneric.inc | patch | blob | history | |
plugins/personal/samba/class_sambaAccount.inc | patch | blob | history | |
plugins/personal/samba/main.inc | patch | blob | history |
diff --git a/plugins/admin/systems/class_winGeneric.inc b/plugins/admin/systems/class_winGeneric.inc
index fb557fdf58f184d99fa4383f75b0f03ffd040a35..01fbbef1a136f6034b291ba8d4e77496b3dbbb4a 100644 (file)
$this->postcreate();
}
+ /* Return plugin informations for acl handling
+ #FIXME FAIscript seams to ununsed within this class... */
+ 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")),
+ "plProvidedAcls"=> array(
+ "cn" => _("Workstation name"),
+ "description" => _("Description"))
+ ));
+ }
+
+
}
// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
diff --git a/plugins/personal/samba/class_sambaAccount.inc b/plugins/personal/samba/class_sambaAccount.inc
index edc286e0ea0fd5666f6987f75cf596110d8a9963..c9c48a1ee812dac2ab9a85ecc7d6d33ecd0db264 100644 (file)
}
$regex= $sambafilter['regex'];
$filter= "(&(objectClass=sambaSAMAccount)$exclude(uid=*$)(|(uid=$regex)(cn=$regex)))";
- $res= get_list($filter, "workstation", $sambafilter['depselect'], array("uid"), GL_SUBSEARCH | GL_SIZELIMIT);
+ $res= get_list($filter, "winworkstation", $sambafilter['depselect'], array("uid"), GL_SUBSEARCH | GL_SIZELIMIT);
+
$wslist= array();
foreach ($res as $attrs){
$wslist[]= preg_replace('/\$/', '', $attrs['uid'][0]);
index a9ede299b9fc635806cd04763526216bb41dccfc..6d5a630f950789512da731976cc6af0a6fbd3ec3 100644 (file)
}
$info= "";
- if ($sambaAccount->is_account){
+ if (($sambaAccount->is_account) && (!$sambaAccount->show_ws_dialog)){
$display.= "<p class=\"plugbottom\">";
/* Are we in edit mode? */