summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 97bf29a)
raw | patch | inline | side by side (parent: 97bf29a)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 7 Aug 2006 06:21:24 +0000 (06:21 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 7 Aug 2006 06:21:24 +0000 (06:21 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4406 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_config.inc | patch | blob | history |
index 169b576aad29384a51a7c8f67121e39b80b259d8..9657e7ca057c7f08d9269d1715bd214b21fccc45 100644 (file)
--- a/include/class_config.inc
+++ b/include/class_config.inc
$res= get_list("(&(objectClass=goShareServer)(goExportEntry=*))", $categories, $base,array("goExportEntry","cn"),GL_SUBSEARCH);
foreach($res as $entry){
- if(isset($entry['goExportEntry']['count'])){
- unset($entry['goExportEntry']['count']);
- }
- foreach($entry['goExportEntry'] as $share){
- $a_share = split("\|",$share);
- $sharename = $a_share[0];
- $return[$entry['cn'][0]."|".$sharename] = $entry['cn'][0]." [".$sharename."]";
+ if(obj_is_readable($entry['dn'], "server/goShareServer","goExportEntry")){
+ if(isset($entry['goExportEntry']['count'])){
+ unset($entry['goExportEntry']['count']);
+ }
+ foreach($entry['goExportEntry'] as $share){
+ $a_share = split("\|",$share);
+ $sharename = $a_share[0];
+ $return[$entry['cn'][0]."|".$sharename] = $entry['cn'][0]." [".$sharename."]";
+ }
}
-
}
return($return);
}