Code

Renamed "krb_host_key" class to "krbHostKey" due to problems with the acl mangement
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 21 Jul 2008 12:41:31 +0000 (12:41 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 21 Jul 2008 12:41:31 +0000 (12:41 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11729 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/systems/admin/systems/class_servGeneric.inc
gosa-plugins/systems/admin/systems/class_serverService.inc

index 108d6dc7fdad3b2d0c77a0f06aca38c789d1147f..4255e78129fb427a8e70fca697aa1add41925be3 100644 (file)
@@ -78,8 +78,8 @@ class servgeneric extends plugin
     plugin::plugin ($config, $dn, $parent);
 
     /* Initialize kerberos host key plugin */
-    if(class_available("krb_host_keys")){
-      $this->kerberos_key_service = new krb_host_keys($this->config,$this);
+    if(class_available("krbHostKeys")){
+      $this->kerberos_key_service = new krbHostKeys($this->config,$this);
     }
 
     $this->ui = get_userinfo();
index 1f1f8229c3c86e7168df8bc890139693930c9523..3ce35118cc1d85df0dcc0b6cb3cc71fb45bdb968 100644 (file)
@@ -258,7 +258,7 @@ class ServerService extends plugin
     /* There is currently a subdialog open, display this dialog */
     if(is_object($this->dialog)){
       $add ="";
-      if(isset($this->dialog->krb_host_key) && $this->dialog->krb_host_key instanceof krb_host_keys){
+      if(isset($this->dialog->krb_host_key) && $this->dialog->krb_host_key instanceof krbHostKeys){
         $add = $this->dialog->krb_host_key->save_object_by_prefix($this->dialog->krb_service_prefix);
         $add = $this->dialog->krb_host_key->execute_by_prefix($this->dialog->krb_service_prefix,TRUE);
       }
@@ -426,7 +426,7 @@ class ServerService extends plugin
         }
       }
       if($this->plugins[$name]->initially_was_account){
-        if(isset($this->plugins[$name]->krb_host_key) && $this->plugins[$name]->krb_host_key instanceof krb_host_keys){
+        if(isset($this->plugins[$name]->krb_host_key) && $this->plugins[$name]->krb_host_key instanceof krbHostKeys){
           $this->plugins[$name]->krb_host_key->remove_from_parent_by_prefix($this->plugins[$name]->krb_host_key);
         }
         $this->plugins[$name]->remove_from_parent();