summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5ca10e8)
raw | patch | inline | side by side (parent: 5ca10e8)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 21 Feb 2008 14:50:50 +0000 (14:50 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 21 Feb 2008 14:50:50 +0000 (14:50 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9027 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si/server/events/gosaTriggered.pm | patch | blob | history | |
gosa-si/tests/client.php | patch | blob | history |
index a041a7229a0954c83d33546b4b00d41f3ac1ae90..7273673aea107ffda616335ee28d67cc47dc4553 100644 (file)
my @events = (
"get_events",
"gen_smb_hash",
+ "reload_ldap_config",
"ping",
"network_completition",
"set_activated_for_installation",
sub detect_hardware {
my ($msg, $msg_hash) = @_ ;
# just forward msg to client, but dont forget to split off 'gosa_' in header
- my $header = @{$msg_hash->{header}}[0];
my $source = @{$msg_hash->{source}}[0];
my $target = @{$msg_hash->{target}}[0];
}
+sub reload_ldap_config {
+ my ($msg, $msg_hash) = @_ ;
+ my $target = @{$msg_hash->{target}}[0];
+
+ my @out_msg_l;
+ push(@out_msg_l, &new_ldap_config($target));
+ return @out_msg_l;
+}
+
+
sub set_activated_for_installation {
my ($msg, $msg_hash) = @_;
index 2c31f9cbb7ab233c4c13c94dcea5d0ddbf81d287..f2c31685162f18f0c71deaf7c7a1be93774ee332 100755 (executable)
--- a/gosa-si/tests/client.php
+++ b/gosa-si/tests/client.php
#$data = "<xml> <header>gosa_delete_jobdb_entry</header><where><clause><phrase><id>3</id></phrase></clause></where></xml>";
# smbhash
-$data = "<xml> <header>gosa_gen_smb_hash</header> <source>GOSA</source><target>GOSA</target><password>tester</password></xml>";
+#$data = "<xml> <header>gosa_gen_smb_hash</header> <source>GOSA</source><target>GOSA</target><password>tester</password></xml>";
+
+# Reload ldap config
+$data = "<xml> <header>gosa_reload_ldap_config</header> <source>GOSA</source><target>00:1B:77:04:8A:6C</target></xml>";
# update
#$data = "<xml> <header>gosa_update_status_jobdb_entry</header> <source>GOSA</source><target>GOSA</target><where><clause><phrase> <status>waiting</status></phrase></clause> </where> <update><status>processing</status> <result>update</result></update></xml>";