Code

Renamed goNfsServer to goShareServer
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 23 Aug 2005 11:04:08 +0000 (11:04 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 23 Aug 2005 11:04:08 +0000 (11:04 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1208 594d385d-05f5-0310-b6e9-bd551577e9d8

include/class_config.inc
include/functions_setup.inc
plugins/admin/systems/class_servService.inc
plugins/admin/systems/class_systemManagement.inc

index f79651dd1c84d40af14fce4cf818e616256bed89..d0c9f76e596e4cf34110aa6becf14f2e816e780b 100644 (file)
@@ -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]);
index 84fcebc777fcd4707b9e7f063d51ed88df45af7c..2291da6219c08df37bd976430025f9bde0267cdc 100644 (file)
@@ -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"),
index 2024df2847e569bb3b0947b61c9539c3ed8cc2cf..b1120f36b70a2a2a77f12a4f0ee2a69bc0a71ac5 100644 (file)
@@ -286,7 +286,7 @@ class servservice extends plugin
     }
     $oc = array();
     foreach($this->attrs['objectClass'] as $name){
-      if($name!="goNfsServer"){
+      if($name!="goShareServer"){
         $oc[]=$name; 
       }
     }
index 6ab007d1f3c9bb47fe3273a38786a81c8ed572b0..85da0a834b8f18a696e1f314d82abf894528a9d3 100644 (file)
@@ -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;