From 6cccd8a143fb8193892c5266d5bda64f008f912e Mon Sep 17 00:00:00 2001 From: rettenbe Date: Wed, 9 Jan 2008 14:20:08 +0000 Subject: [PATCH] update git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8262 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/gosa-si-server | 4 ++++ gosa-si/tests/client.php | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gosa-si/gosa-si-server b/gosa-si/gosa-si-server index 4e4097a89..3993ca464 100755 --- a/gosa-si/gosa-si-server +++ b/gosa-si/gosa-si-server @@ -100,6 +100,7 @@ our $shmda = tie($known_daemons, 'IPC::Shareable', undef, {create => 1, mode => 0666, destroy => 1, }); + # holds all registrated clients our $known_clients_db; #our $known_clients = {}; @@ -999,6 +1000,9 @@ my @clients_col_names = ('hostname', 'status', 'hostkey', 'timestamp', 'macaddre $known_clients_db = GOSA::DBsqlite->new($known_clients_file_name); $known_clients_db->create_table('known_clients', \@clients_col_names); +# connect to known_server_db +my @server_col_names = (); + # import all modules &import_modules; diff --git a/gosa-si/tests/client.php b/gosa-si/tests/client.php index 83f4470d6..b52a4d8f3 100755 --- a/gosa-si/tests/client.php +++ b/gosa-si/tests/client.php @@ -15,11 +15,10 @@ if($sock->connected()){ #$data = "
gosa_ping
10.89.1.155:2008211:22:33:44:55
"; #$data = "
job_ping
10.89.1.155:2008300:1B:77:04:8A:6C 19700101000000
"; #$data = "
job_sayHello
10.89.1.155:2008300:1B:77:04:8A:6C 20130102133900
"; - #$data = "
job_ping
10.89.1.155:2008300:1B:77:04:8A:6C 20130102133900
"; + $data = "
job_ping
10.89.1.155:2008300:1B:77:04:8A:6C 20130102133900
"; # delete #$data = "
gosa_delete_jobdb_entry
headertag sayHello
"; - $data = "
gosa_clear_jobdb
"; # update #$data = "
gosa_update_status_jobdb_entry
waiting processing
"; -- 2.30.2