index 36fac0be2d22ebe7b500251d9c6fe4d218271362..7bad55ec141bc68e949f8d9c85b959c04ea53941 100644 (file)
my $header = @{$msg_hash->{'header'}}[0];
my $source = @{$msg_hash->{'source'}}[0];
my $macaddress = @{$msg_hash->{'macaddress'}}[0];
+ my $fai_action = @{$msg_hash->{'fai_action'}}[0];
my $all_logs = @{$msg_hash->{$header}}[0];
# if there is nothing to log
my $time = &get_time;
$time = substr($time, 0, 8)."_".substr($time, 8, 6);
- $client_fai_log_dir = File::Spec->catfile( $client_fai_log_dir, "install_$time" );
+ $client_fai_log_dir = File::Spec->catfile( $client_fai_log_dir, $fai_action ."_".$time );
mkdir($client_fai_log_dir, 0755);
my @all_logs = split(/log_file:/, $all_logs);
my $error_str;
# Invoke set_last_system; message sets ldap attributes 'gotoLastSystemLogin' and 'gotoLastSystem'
- $res = &set_last_system($msg, $msg_hash, $session_id);
+# &set_last_system($msg, $msg_hash, $session_id);
# Add user to login_users_db
my %add_hash = ( table=>$main::login_users_tn,
}
# Invoke set_last_system; message sets ldap attributes 'gotoLastSystemLogin' and 'gotoLastSystem'
- my $res = &set_last_system($msg, $msg_hash, $session_id);
+# &set_last_system($msg, $msg_hash, $session_id);
# fetch all user currently assigned to the client at login_users_db
my %currently_logged_in_user = ();