From: rettenbe Date: Thu, 4 Sep 2008 11:12:29 +0000 (+0000) Subject: update: gosa-si-server can be addressed with mac address in target tag now X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=480bf33e9fa783d762b575fa5d3c7d44e985a0f9;p=gosa.git update: gosa-si-server can be addressed with mac address in target tag now git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12362 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-si/gosa-si-server b/gosa-si/gosa-si-server index e2ca1c36d..c1fe2d63f 100755 --- a/gosa-si/gosa-si-server +++ b/gosa-si/gosa-si-server @@ -1102,7 +1102,7 @@ sub msg_to_decrypt { $done = 1; my $hostname = $res->{1}->{'hostname'}; $msg =~ s/$target<\/target>/$hostname<\/target>/; - #print STDERR "target is a client address in known_clients -> process here\n"; + #print STDERR "target is a client address in known_clients -> process here\n"; my $local_address = &get_local_ip_for_remote_ip($target_ip).":$server_port"; if ($source eq "GOSA") { $msg =~ s/<\/xml>/$local_address,$session_id<\/forward_to_gosa><\/xml>/; diff --git a/gosa-si/tests/client.php b/gosa-si/tests/client.php index 71d64c2eb..302370acc 100755 --- a/gosa-si/tests/client.php +++ b/gosa-si/tests/client.php @@ -85,11 +85,6 @@ for($count = 1; $count <= $zahl; $count++) #$data = "
gosa_recreate_fai_release_db
GOSA GOSA
"; #$data = "
gosa_recreate_packages_list_db
GOSA GOSA
"; - ########### - # messaging - #$data = "
gosa_send_user_msg
GOSA GOSA ".base64_encode("eine wichtige nachricht")." admin polle harald 20130101235959 ".base64_encode("kaffeepause")."
"; - #$data = "
gosa_send_user_msg
00:01:6c:9d:aa:16 GOSA ".base64_encode("eine wichtige nachricht")." admin polle harald 20130101235959 ".base64_encode("kaffeepause")."
"; - #$data = "
gosa_send_user_msg
00:01:6c:9d:b9:fa GOSA ".base64_encode("eine wichtige nachricht")." admin polle harald 20130101235959 ".base64_encode("kaffeepause")."
"; ################ # logHandling.pm @@ -178,16 +173,22 @@ for($count = 1; $count <= $zahl; $count++) # Delete product from Opsi client #$data = "
gosa_opsi_del_product_from_client
GOSA 00:01:6c:9d:b9:fa linux-cl-1.intranet.gonicus.de 00:11:25:4b:8c:e5 wipedisk
"; - ######################### # Mailqueue communication - #$data = "
gosa_mailqueue_query
GOSA 00:01:6c:9d:b9:fa
"; + + # writing data into a mailqueue + #$data = "
gosa_send_user_msg
GOSA GOSA ".base64_encode("eine wichtige nachricht")." admin polle harald 20130101235959 ".base64_encode("kaffeepause")."
"; + #$data = "
gosa_send_user_msg
00:01:6c:9d:aa:16 GOSA ".base64_encode("eine wichtige nachricht")." admin polle harald 20130101235959 ".base64_encode("kaffeepause")."
"; + #$data = "
gosa_send_user_msg
00:01:6c:9d:b9:fa GOSA ".base64_encode("eine wichtige nachricht")." admin polle harald 20130101235959 ".base64_encode("kaffeepause")."
"; + + #$data = "
gosa_mailqueue_query
GOSA 00:01:6c:9d:aa:16
"; + $data = "
gosa_mailqueue_query
GOSA 00:01:6c:9d:b9:fa
"; # multiple xml tags msg_id are allowed #$data = "
gosa_mailqueue_hold
GOSA 00:01:6c:9d:b9:fa 99C8ABEF23
"; #$data = "
gosa_mailqueue_unhold
GOSA 00:01:6c:9d:b9:fa 5657EBEEF7
"; #$data = "
gosa_mailqueue_requeue
GOSA 00:01:6c:9d:b9:fa 11A09BEF04
"; - #$data = "
gosa_mailqueue_del
GOSA 00:01:6c:9d:b9:fa 11A09BEF04
"; + #$data = "
gosa_mailqueue_del
GOSA 00:01:6c:9d:aa:16
"; # only one xml tag msg_id is allowed #$data = "
gosa_mailqueue_header
GOSA 00:01:6c:9d:b9:fa 99E92BEF2B
";