From: rettenbe Date: Wed, 2 Jul 2008 15:48:42 +0000 (+0000) Subject: wol default value in config file X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4005115206d39a32633722c4552477a604b40b31;p=gosa.git wol default value in config file git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11515 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-si/gosa-si-client b/gosa-si/gosa-si-client index be282a52d..145a82cf8 100755 --- a/gosa-si/gosa-si-client +++ b/gosa-si/gosa-si-client @@ -34,7 +34,6 @@ use GOSA::GosaSupportDaemon; 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 6d2c866d8..4c4df6b60 100755 --- a/gosa-si/gosa-si-server +++ b/gosa-si/gosa-si-server @@ -86,6 +86,7 @@ our (%cfg_defaults, $log_file, $pid_file, $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 @@ -230,6 +231,7 @@ my $max_children = 2; "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"], @@ -2986,7 +2988,7 @@ foreach my $foreign_server (@foreign_server_list) { # 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, diff --git a/gosa-si/tests/client.php b/gosa-si/tests/client.php index 22826fd9e..41051e16e 100755 --- a/gosa-si/tests/client.php +++ b/gosa-si/tests/client.php @@ -112,6 +112,8 @@ for($count = 1; $count <= $zahl; $count++) $data = "
gosa_get_dak_keyring
GOSA GOSA
"; #$data = "
job_ping
GOSA 00:0c:29:02:e5:4d 00:0c:29:02:e5:4d29700101000000
"; + $data = "
gosa_network_completition
GOSA GOSA localhost
"; + $sock->write($data); $answer = "nothing"; $answer = $sock->read();