summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f91f474)
raw | patch | inline | side by side (parent: f91f474)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 18 Jul 2006 11:59:07 +0000 (11:59 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 18 Jul 2006 11:59:07 +0000 (11:59 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4208 594d385d-05f5-0310-b6e9-bd551577e9d8
Changelog | patch | blob | history | |
include/class_config.inc | patch | blob | history |
diff --git a/Changelog b/Changelog
index 8c176e4d3c8503a170ff9b8bb10bbde40266a1a2..ad157e45842fe0a9991c2290b559094228066fb2 100644 (file)
--- a/Changelog
+++ b/Changelog
===============
* gosa 2.5.3
+ - Fixed environment shares, only available shares will be displayed (gosaUnitTag was ignored)
- Fixed saving of inherited workstation settings
- Removed error when no FAI repositories were present
- Fixed posix group add dialog, filter wasn't working.
index 080f606cefb11a50c4fc3c313b56d699a368f7e3..f413ecb62a8be8f3b0953dce4f1815322cd1da1a 100644 (file)
--- a/include/class_config.inc
+++ b/include/class_config.inc
/* This function returns all available ShareServer */
function getShareServerList()
{
- $ldap= $this->get_ldap_link();
- $a_res = $ldap->search("(&(objectClass=goShareServer)(goExportEntry=*))",array("goExportEntry","cn"));
- $return= array();
- while($entry = $ldap->fetch($a_res)){
+ global $config;
+ $return = array();
+ $ui = get_userinfo();
+ $base = $config->current['BASE'];
+ $res = get_list("(&(objectClass=goShareServer)(goExportEntry=*))",$ui->subtreeACL,$base,array("goExportEntry","cn"),GL_SUBSEARCH);
+ foreach($res as $entry){
if(isset($entry['goExportEntry']['count'])){
unset($entry['goExportEntry']['count']);
}
$sharename = $a_share[0];
$return[$entry['cn'][0]."|".$sharename] = $entry['cn'][0]." [".$sharename."]";
}
+
}
return($return);
}