summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a2663e8)
raw | patch | inline | side by side (parent: a2663e8)
author | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 25 Feb 2008 12:00:46 +0000 (12:00 +0000) | ||
committer | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 25 Feb 2008 12:00:46 +0000 (12:00 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9103 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si/gosa-si-server | patch | blob | history | |
gosa-si/modules/SIPackages.pm | patch | blob | history |
diff --git a/gosa-si/gosa-si-server b/gosa-si/gosa-si-server
index e5ae6ae283733a635b9b4398b4182f73866acd98..848f237cc7e040830c3085f845b8c84e25b987f8 100755 (executable)
--- a/gosa-si/gosa-si-server
+++ b/gosa-si/gosa-si-server
$job_msg =~ s/<\/xml>$/<jobdb_id>$jobdb_id<\/jobdb_id><\/xml>/;
my $func_error = &send_msg_to_target($job_msg, $server_address, $GosaPackages_key, $header);
-
-# if ( $func_error ) {
-#print STDERR "========================================\n";
-#print STDERR "func_error: $func_error\n";
-#
-# my $sql_statement = "UPDATE $job_queue_table_name ".
-# "SET status='error', targettag='$target' ".
-# "WHERE id='$jobdb_id'";
-#print STDERR "sql: $sql_statement\n";
-# my $res = $job_db->update_dbentry($sql_statement);
-#print STDERR "res: ".Dumper($res);
-#
-# } else {
-#print STDERR "========================================\n";
-#print STDERR "func_error: $func_error\n";
-#
-# my $sql_statement = "UPDATE $job_queue_table_name ".
-# "SET status='done', targettag='$target' ".
-# "WHERE id='$jobdb_id'";
-#print STDERR "sql: $sql_statement\n";
-# my $res = $job_db->update_dbentry($sql_statement);
-#print STDERR "res: ".Dumper($res);
-# }
}
$kernel->delay_set('watch_for_new_jobs',3);
$job_db->create_table('jobs', \@job_col_names);
# connect to known_clients_db
-my @clients_col_names = ('hostname', 'status', 'hostkey', 'timestamp', 'macaddress', 'events');
+my @clients_col_names = ('hostname', 'status', 'hostkey', 'timestamp', 'macaddress', 'events', 'login');
$known_clients_db = GOSA::DBsqlite->new($known_clients_file_name);
$known_clients_db->create_table('known_clients', \@clients_col_names);
index 7812d63f6072697401fd2eac73e55dbad4e95a01..06f310cf1c5d386a396e3f40ac05e0e07abc5295 100644 (file)
status=>'registered',
hostkey=>$new_passwd,
timestamp=>$act_timestamp,
+ login=>"nobody",
} );
if ($res != 0) {