summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ad4d915)
raw | patch | inline | side by side (parent: ad4d915)
author | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 2 Jul 2008 15:48:42 +0000 (15:48 +0000) | ||
committer | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 2 Jul 2008 15:48:42 +0000 (15:48 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11515 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si/gosa-si-client | patch | blob | history | |
gosa-si/gosa-si-server | patch | blob | history | |
gosa-si/tests/client.php | patch | blob | history |
diff --git a/gosa-si/gosa-si-client b/gosa-si/gosa-si-client
index be282a52de1d65c005a366224c30e8f04f2c4374..145a82cf848a5381831ae720b8c0be313173ddb0 100755 (executable)
--- a/gosa-si/gosa-si-client
+++ b/gosa-si/gosa-si-client
use Digest::MD5 qw(md5_hex md5 md5_base64);
use MIME::Base64;
use XML::Simple;
-#use Net::DNS; # no longer used because function moved to GosaSupportDaemon.pm : rettenbe : 16.05.2008
use File::Basename;
use File::Spec;
diff --git a/gosa-si/gosa-si-server b/gosa-si/gosa-si-server
index 6d2c866d81e8a6128347383392f89760202761a3..4c4df6b605e2450557345e8be92173070f3c9225 100755 (executable)
--- a/gosa-si/gosa-si-server
+++ b/gosa-si/gosa-si-server
$arp_activ, $gosa_unit_tag,
$GosaPackages_key, $gosa_ip, $gosa_port, $gosa_timeout,
$foreign_server_string, $server_domain, $ServerPackages_key, $foreign_servers_register_delay,
+ $wake_on_lan_passwd,
);
# additional variable which should be globaly accessable
"ldap-admin-password" => [\$ldap_admin_password, ""],
"gosa-unit-tag" => [\$gosa_unit_tag, ""],
"max-clients" => [\$max_clients, 10],
+ "wol-password" => [\$wake_on_lan_passwd, ""],
},
"GOsaPackages" => {
"ip" => [\$gosa_ip, "0.0.0.0"],
# TODO for jan
# do not add myself to known_server_db
# work around!!!
- if ($foreign_server eq '172.16.2.89:20081') { next; }
+ if ($foreign_server eq '10.89.1.31:20081') { next; }
######################################
my $res = $known_server_db->add_dbentry( {table=>$known_server_tn,
index 22826fd9e51988df168c37e18eb219f6998620f6..41051e16ec3fe9de25cd530b79fc5bece421f0e6 100755 (executable)
--- a/gosa-si/tests/client.php
+++ b/gosa-si/tests/client.php
$data = "<xml> <header>gosa_get_dak_keyring</header> <target>GOSA</target> <source>GOSA</source> </xml>";
#$data = "<xml> <header>job_ping</header> <source>GOSA</source> <target>00:0c:29:02:e5:4d</target> <macaddress>00:0c:29:02:e5:4d</macaddress><timestamp>29700101000000</timestamp> </xml>";
+ $data = "<xml> <header>gosa_network_completition</header> <source>GOSA</source> <target>GOSA</target> <hostname>localhost</hostname> </xml>";
+
$sock->write($data);
$answer = "nothing";
$answer = $sock->read();