summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 70f8611)
raw | patch | inline | side by side (parent: 70f8611)
author | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 11 Sep 2008 10:11:11 +0000 (10:11 +0000) | ||
committer | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 11 Sep 2008 10:11:11 +0000 (10:11 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12420 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si/server/events/gosaTriggered.pm | patch | blob | history |
index e85ae51206580c129b7f4f7034fae34ac3b03842..f1378b700e1f6bb27a431e306cd5ec48d1a65e75 100644 (file)
}
if($activate_client == 1) {
+
+ # Create delivery list
+ my @out_msg_l;
+
# Set job to done
$main::job_db->exec_statement("UPDATE jobs SET status = 'done' WHERE id = $jobdb_id");
- # create new_ldap_config and set_activated_for_installation messages for delivery
- my $out_hash_ldap_config = &create_xml_hash("new_ldap_config", $source, $target);
- my $out_msg_ldap_config = &create_xml_string($out_hash_ldap_config);
- my $out_hash_activate = &create_xml_hash("set_activated_for_installation", $source, $target);
- my $out_msg_activate = &create_xml_string($out_hash_activate);
- my @out_msg_l = ($out_msg_ldap_config, $out_msg_activate);
+ # Add new_ldap_config message to delivery list
+ my $ldap_out_msg = &ClientPackages::new_ldap_config($mac, $session_id);
+ push(@out_msg_l, $ldap_out_msg);
+
+ # create set_activated_for_installation message for delivery
+ my $out_hash = &create_xml_hash("set_activated_for_installation", $source, $target);
+ my $out_msg = &create_xml_string($out_hash);
+ push(@out_msg_l, $out_msg);
return @out_msg_l;
} else {