Code

Updated si stuff
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 6 May 2008 07:25:28 +0000 (07:25 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 6 May 2008 07:25:28 +0000 (07:25 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10779 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_gosaSupportDaemon.inc

index 76c3e7c25c002856e7ac1770cbf41e4f90b4ecde..04538015981620e03b80638ca9d3367a8c0902ef 100644 (file)
@@ -1275,7 +1275,12 @@ class gosaSupportDaemon
       "<target>".$server."</target>".
       "</xml>";
 
-    return($this->_send($xml_msg,TRUE));
+    $res = $this->_send($xml_msg,TRUE);
+    if(isset($res['XML'])){
+      return($res['XML']);
+    }else{
+      return($ret);
+    }
   }
 
 
@@ -1384,7 +1389,7 @@ class gosaSupportDaemon
      */ 
     $xml_msg = 
       "<xml>".
-      "<header>gosa_krb5_set_principal</header>".
+      "<header>gosa_krb5_modify_principal</header>".
       "<principal>".$name."</principal>".
       $attrs.
       "<source>GOSA</source>".