summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6211c7a)
raw | patch | inline | side by side (parent: 6211c7a)
author | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 9 Jan 2008 14:20:08 +0000 (14:20 +0000) | ||
committer | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 9 Jan 2008 14:20:08 +0000 (14:20 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8262 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si/gosa-si-server | patch | blob | history | |
gosa-si/tests/client.php | patch | blob | history |
diff --git a/gosa-si/gosa-si-server b/gosa-si/gosa-si-server
index 4e4097a89355b031a1a2052bca67659a0ef1e8b0..3993ca464557399385db4e0e6682a69bda32388e 100755 (executable)
--- a/gosa-si/gosa-si-server
+++ b/gosa-si/gosa-si-server
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;
index 83f4470d6793cdad67f47ac5ddda6a110e546854..b52a4d8f3581e198671e2d74d04faac70fd284a4 100755 (executable)
--- a/gosa-si/tests/client.php
+++ b/gosa-si/tests/client.php
#$data = "<xml><header>gosa_ping</header><source>10.89.1.155:20082</source><target></target><mac>11:22:33:44:55</mac></xml>";
#$data = "<xml> <header>job_ping</header> <source>10.89.1.155:20083</source><mac>00:1B:77:04:8A:6C</mac> <timestamp>19700101000000</timestamp> </xml>";
#$data = "<xml> <header>job_sayHello</header> <source>10.89.1.155:20083</source><mac>00:1B:77:04:8A:6C</mac> <timestamp>20130102133900</timestamp> </xml>";
- #$data = "<xml> <header>job_ping</header> <source>10.89.1.155:20083</source><mac>00:1B:77:04:8A:6C</mac> <timestamp>20130102133900</timestamp> </xml>";
+ $data = "<xml> <header>job_ping</header> <source>10.89.1.155:20083</source><mac>00:1B:77:04:8A:6C</mac> <timestamp>20130102133900</timestamp> </xml>";
# delete
#$data = "<xml> <header>gosa_delete_jobdb_entry</header> <where>headertag</where> <headertag>sayHello</headertag> </xml>";
- $data = "<xml> <header>gosa_clear_jobdb</header> </xml>";
# update
#$data = "<xml> <header>gosa_update_status_jobdb_entry</header> <where> <status>waiting</status> </where> <update> <status>processing</status> </update></xml>";