Code

Updated Krb Service
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 23 Apr 2008 12:08:38 +0000 (12:08 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 23 Apr 2008 12:08:38 +0000 (12:08 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10647 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/heimdal/admin/systems/services/kerberos/class_goKrbServer.inc

index a5afb446f6904aefa81e788ca9797d4315bb28fe..9e62c004d0a5c63b2c6777231b156619cc9fc106 100644 (file)
@@ -49,16 +49,15 @@ class goKrbServer extends goService{
     }
 
     $o = new gosaSupportDaemon();
-#    print_a($o->krb5_list_policies("00:01:6c:9d:aa:16"));
-#    print_a($o->krb5_list_principals("00:01:6c:9d:aa:16"));
+    $this->policies = $o->krb5_list_policies("00:01:6c:9d:aa:16");
 
     $divlist = new divSelectBox("Kerberos Policies");
     $action  = "<input type='image' src='images/lists/edit.png' class='center' name='policy_edit_%id'>";
     $action .= "<input type='image' src='images/lists/trash.png' class='center' name='policy_del_%id'>";
     foreach($this->policies as $key => $policy){
       $actions = preg_replace("/%id/",$key,$action);
-      $field1 = array("string" => $policy);
-      $field2 = array("string" => $policy);
+      $field1 = array("string" => $policy['POLICY']);
+      $field2 = array("string" => "Fasel bla ");
       $field3 = array("string" => $actions, 
                       "attach"=>"style='width:40px; text-align:right; border:0px;'");