diff --git a/gosa-core/include/class_gosaSupportDaemon.inc b/gosa-core/include/class_gosaSupportDaemon.inc
index de02dd55b3460e2a3537795290be0e39785e8305..b6eff67e502b5a1766dfa5d08a4a963bbf652796 100644 (file)
}else{
$this->set_error($this->o_sock->get_error());
$this->disconnect();
- new log("debug","gosaSupportDaemon::connect()", "Could not connect to server.", array(),$this->get_error());
+ new log("debug","gosaSupportDaemon::connect()", "Cannot connect to si-server", array(),$this->get_error());
}
}else{
$this->set_error(msgPool::cmdnotfound("GOSA_SI",_("GOsa support daemon")));
"<where><clause><phrase><distribution>".$release."</distribution></phrase></clause></where>
</xml>";
}else{
+ $xml_msg = "<xml><header>gosa_query_packages_list</header><target>GOSA</target><source>GOSA</source>".
+ "<select> ".trim($attr,", ")." </select>".
+ "<where><clause>
+ <connector>AND</connector>
+ <phrase><distribution>".$release."</distribution></phrase>
+ <phrase><package>".$package."</package></phrase>
+ </clause></where>
+ </xml>";
}
- echo htmlentities($xml_msg);
-
if($this->connect()){
$this->o_sock->write($xml_msg);
$str = trim($this->o_sock->read());