From: hickert Date: Tue, 23 Aug 2005 11:04:08 +0000 (+0000) Subject: Renamed goNfsServer to goShareServer X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c06ef37449415c4295490e530d9cde577e101f9e;p=gosa.git Renamed goNfsServer to goShareServer git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1208 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/class_config.inc b/include/class_config.inc index f79651dd1..d0c9f76e5 100644 --- a/include/class_config.inc +++ b/include/class_config.inc @@ -370,7 +370,7 @@ class config { /* Get NFS server lists */ $tmp= array("default"); $ldap->cd ($this->current['BASE']); - $ldap->search ("(&(objectClass=goNfsServer)(goExportEntry=*))"); + $ldap->search ("(&(objectClass=goShareServer)(goExportEntry=*))"); while ($attrs= $ldap->fetch()){ for ($i= 0; $i<$attrs["goExportEntry"]["count"]; $i++){ $path= preg_replace ("/\s.*$/", "", $attrs["goExportEntry"][$i]); diff --git a/include/functions_setup.inc b/include/functions_setup.inc index 84fcebc77..2291da621 100644 --- a/include/functions_setup.inc +++ b/include/functions_setup.inc @@ -82,7 +82,7 @@ function schema_check($server, $admin, $password, $aff=0,$CalledByIndexPhP=false "gotoTerminal" => array("version" => "2.0", "class" => "terminals","file" => "goto.schema"), "goServer" => array("version" => "2.4","class" => "server","file" => "goserver.schema"), "goTerminalServer" => array("version" => "2.4", "class" => "terminals","file" => "goto.schema"), - "goNfsServer" => array("version" => "2.4", "class" => "terminals","file" => "goto.schema"), + "goShareServer" => array("version" => "2.4", "class" => "terminals","file" => "goto.schema"), "goNtpServer" => array("version" => "2.4", "class" => "terminals","file" => "goto.schema"), "goSyslogServer" => array("version" => "2.4", "class" => "terminals","file" => "goto.schema"), "goLdapServer" => array("version" => "2.4"), diff --git a/plugins/admin/systems/class_servService.inc b/plugins/admin/systems/class_servService.inc index 2024df284..b1120f36b 100644 --- a/plugins/admin/systems/class_servService.inc +++ b/plugins/admin/systems/class_servService.inc @@ -286,7 +286,7 @@ class servservice extends plugin } $oc = array(); foreach($this->attrs['objectClass'] as $name){ - if($name!="goNfsServer"){ + if($name!="goShareServer"){ $oc[]=$name; } } diff --git a/plugins/admin/systems/class_systemManagement.inc b/plugins/admin/systems/class_systemManagement.inc index 6ab007d1f..85da0a834 100644 --- a/plugins/admin/systems/class_systemManagement.inc +++ b/plugins/admin/systems/class_systemManagement.inc @@ -630,7 +630,7 @@ class systems extends plugin if(in_array("goSyslogServer" ,$val['objectClass'])) $syslog = $img3; else $syslog=$empty; if(in_array("goImapServer" ,$val['objectClass'])) $imap = $img4; else $imap =$empty; if(in_array("sambaSamAccount" ,$val['objectClass'])) $samba = $img5; else $samba =$empty; - if(in_array("goNfsServer" ,$val['objectClass'])) $nfs = $img6; else $nfs =$empty; + if(in_array("goShareServer" ,$val['objectClass'])) $nfs = $img6; else $nfs =$empty; if(in_array("goKrbServer" ,$val['objectClass'])) $krb = $img7; else $krb =$empty; if(in_array("goFonServer" ,$val['objectClass'])) $fon = $img8; else $fon =$empty; if(in_array("goFaxServer" ,$val['objectClass'])) $fax = $img9; else $fax =$empty;