summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5a7c0a1)
raw | patch | inline | side by side (parent: 5a7c0a1)
author | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 5 Dec 2007 17:28:46 +0000 (17:28 +0000) | ||
committer | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 5 Dec 2007 17:28:46 +0000 (17:28 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8030 594d385d-05f5-0310-b6e9-bd551577e9d8
contrib/daemon/modules/GosaPackages.pm | patch | blob | history |
index 3f03d455d3c8213233a9bf251e4dd85d44ac41f5..cb22a9c5c8b756e219f54cbdea2cebc92cca079d 100644 (file)
if(not defined $crypted_msg) {
&main::daemon_log("function 'process_incoming_msg': got no msg", 7);
}
+ &main::daemon_log("GosaPackages: crypted_msg:$crypted_msg", 7);
+ &main::daemon_log("GosaPackages: crypted_msg len:".length($crypted_msg), 7);
+
$crypted_msg =~ /^([\s\S]*?)\.(\d{1,3}?)\.(\d{1,3}?)\.(\d{1,3}?)\.(\d{1,3}?)$/;
$crypted_msg = $1;
my $host = sprintf("%s.%s.%s.%s", $2, $3, $4, $5);
-
+
+ &main::daemon_log("GosaPackages: crypted_msg:$crypted_msg", 7);
+ &main::daemon_log("GosaPackages: crypted_msg len:".length($crypted_msg), 7);
+
+
# collect addresses from possible incoming clients
# only gosa is allowd as incoming client
&main::daemon_log("GosaPackages: host_key: $host", 7);
my $msg_hash;
eval{
$msg = &main::decrypt_msg($crypted_msg, $gosa_cipher);
+
+ &main::daemon_log("GosaPackages: decrypted_msg: $msg", 7);
$msg_hash = $main::xml->XMLin($msg, ForceArray=>1);
};
if($@) {
- &main::daemon_log("ERROR: GosaPackages do not understand the message:", 1);
- &main::daemon_log("\t$msg", 7);
+ &main::daemon_log("ERROR: GosaPackages do not understand the message: $@", 1);
return;
}