Code

Environment Shares - Functions.inc.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 16 Jul 2008 06:30:43 +0000 (06:30 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 16 Jul 2008 06:30:43 +0000 (06:30 +0000)
-Updated share detection for getShareList() --  (used in environment)

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11672 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_config.inc

index 8d839877c5eec731614953a4f46417164195eea7..1b7dc1e648f9a0e537e982cf59740d1b758a3bc6 100644 (file)
@@ -809,7 +809,7 @@ class config  {
    */
   function getShareList($listboxEntry = false)
   {
-    $tmp = get_sub_list("(&(objectClass=goShareServer)(goExportEntry=*))","server",get_ou("serverou"),
+    $tmp = get_sub_list("(&(objectClass=goShareServer)(goExportEntry=*))","server/goShareServer",get_ou("serverou"),
         $this->current['BASE'],array("goExportEntry","cn"), GL_NONE);
     $return =array();
     foreach($tmp as $entry){