From: rettenbe Date: Fri, 11 Apr 2008 13:05:27 +0000 (+0000) Subject: 'set_activated_for_installation'-msg additionally sends ldap config infos X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c49337b4177899ef76020511eabdc75164d801db;p=gosa.git 'set_activated_for_installation'-msg additionally sends ldap config infos git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10358 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-si/server/events/gosaTriggered.pm b/gosa-si/server/events/gosaTriggered.pm index 3f651b8be..6138e547d 100644 --- a/gosa-si/server/events/gosaTriggered.pm +++ b/gosa-si/server/events/gosaTriggered.pm @@ -374,7 +374,9 @@ sub set_activated_for_installation { my $header = @{$msg_hash->{header}}[0]; my $source = @{$msg_hash->{source}}[0]; my $target = @{$msg_hash->{target}}[0]; + my @out_msg_l; + # create set_activated_for_installation message my $jobdb_id = @{$msg_hash->{'jobdb_id'}}[0]; if( defined $jobdb_id) { my $sql_statement = "UPDATE $main::job_queue_tn SET status='processed' WHERE id='$jobdb_id'"; @@ -387,7 +389,13 @@ sub set_activated_for_installation { &add_content2xml_hash($out_hash, 'jobdb_id', $jobdb_id); } my $out_msg = &create_xml_string($out_hash); - my @out_msg_l = ( $out_msg ); + push(@out_msg_l, $out_msg); + + # create new_ldap_config message, client is waiting for that piece of information + my $new_ldap_config_out = &main::new_ldap_config($source, $session_id); + push(@out_msg_l, $new_ldap_config_out); + + return @out_msg_l; }